This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 4758

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 ..
Consider Paul's rocket mass heater.
subject: Which class is this [C ?