This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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: 5091

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 ?
It's not a secret anymore!