File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Which class is this [C ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Which class is this [C ?" Watch "Which class is this [C ?" New topic

Which class is this [C ?

Parshant Sehrawat

Joined: May 18, 2012
Posts: 4

for char array i am getting [C class @ some hash code.
Could any body please explain all about these classes ?
Darryl Burke

Joined: May 03, 2008
Posts: 4664

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!

luck, db
There are no new questions, but there may be new answers.
Parshant Sehrawat

Joined: May 18, 2012
Posts: 4
Thanks for your help
I got my answer ..
I agree. Here's the link:
subject: Which class is this [C ?