Hi all, Can any1 pls.. explain 2 me how all the statements written below r true !!! ch\u0061r a='a'; char \u0062 ='b'; char c ='\u0063'; "unicode characters can appear anywhere in the source code"----is this true? THANKS IN ADV. <marquee> Ratul Banerjee </marquee>
Hi Ratul, The java compiler replaces all unicode characters with the ASCII alternative wherever possible. You can think of the unicode chars as escape codes. Therefore what actually gets compiled is the following lines: char a = 'a'; char b = 'b'; char c = 'c'; And it all looks good to go! Regards, Manfred.
Hi All, Thanks all of u. Butttttt...I am not clear enough...pls..explain me in details. ooho...wht. is that r doing here...Andy. //ch\u0061r a ='a'; Thanks all ..1ce again. Regds. <marquee> Ratul Banerjee </marquee>