Hi, After the declaration: char c = new char; what is the value of c? a) 50 b) 49 c) '\u0000' d) '\u0020' e) " " f) cannot be determined g) always null until a value is assigned I thought the answer is 'c' as characters are initialised to '\u0000'. Am I wrong? Because this is not the right answer and the key to answers is not provided! Regards, Kapil
Hope this helps. Correct me if I am wrong.<p>Cheers <img src="smile.gif" border="0"> ,<br />Kapil
Here is an example to proove you are right: Character class have public static int getNumericValue(char ch) which Returns the Unicode numeric value of the character as a nonnegative integer. If the character does not have a numeric value, then -1 is returned. If the character has a numeric value that cannot be represented as a nonnegative integer (for example, a fractional value), then -2 is returned.