Can you explain me following: In K.A.M, In Table 2.7 (p25) Unicode values are same for both ,char.litral �1�& integer litral 1 WHILE In 3.9(p59) Line:- boolean compare =�1�==1;//false Why? . Thanks. ------------ Ketan Patel
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.
Hi ketan, This is in reply to your question on threads that you wanted. There was a queston on deadlock. One on synchronization one on threads which implement the runnable interface. But most of them were jqplus questions. There were two or three that were non jqplus questions also but I do not remember the context now. Thanks for your wishes Padmini
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop