About Question enthuware.ocajp.i.v7.2.1202 :
Posted: Sun Aug 31, 2014 5:52 pm
I don't have any problem with the question, but I wonder if the Explanation to the Question is accurate:
Cheers!
Chris
As per the JLS, I thought the default for a char was null (via '\u0000')?Following are the default values that instance variables are initialized with if not initialized explicitly:
types (byte, short, char, int, long, float, double) to 0 ( or 0.0 ).
All Object types to null.
boolean to false.
Cheers!
Chris