Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which class is this [C ?

 
Parshant Sehrawat
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


for char array i am getting [C class @ some hash code.
Could any body please explain all about these classes ?
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java™ Language Specification: 10.8. Class Objects for Arrays.

The uppercased first letter of the type is used for arrays of primitives except for long[] and boolean[] which are represented by [J and [Z respectively.

And welcome to the Ranch!
 
Parshant Sehrawat
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your help
I got my answer ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic