Originally posted by anshi kohli: char range is 0-65535 verified with K&B book but pg 69 of khalid says its 0-65536(which is wrong i believe).
please correct if i m wrong?
Hello anshi! me back here. My book titled A programmers guide to java certification by Khalid Mughal and Rolf. W. Rasmussen, second edition with Indian print coyrighted 2004, at page 29 says, second paragraph first line says... "Their values are unsigned integers that denote all the 65536(2^16) characters in the 16-bit unicode character set."
So the actual set of characters is 65536, but when you say 'range', it actually starts with 0 and ends up with one minus of the total... cho chimple right. have fun.