Monday, 15 December 2014

Java classes in heap histo

below is a small table to decode class names like [C, [B and [Lclassnames:


Element Type        Encoding
boolean             Z
byte                B
char                C
class or interface  Lclassname;
double              D
float               F
int                 I
long                J
short               S 


This came in handy from stack overflow :)

No comments:

Post a Comment