Hi,
Please read more carefully. At page 25 it is said that character 1 may be represented by '1' or unicode '\u0031'. At page 59 it is a comparison between primitive value 1 and character 1 !!! Character '1' is converted to an int before
test (binary numeric promotion) which gives 0x31 or 49 decimal which of course is != 1 !!!
Mihai T.