This was explained in another posting, so you can do a search to find a more detailed answer. But the short of it is because the '\u000A' is the unicode for the return or \n. So what happens is that when you say: char a = '\u000A'; you end up getting this: char a = ; because it returns to the next line and then types in your ;. So you always want to use \n instead. Bill
We don't need to know this stuff for the exam do we? Do we need to memorize which unicodes are valid and which are not and what value each one has? Is there a small subset of them that are well know that we definitly need to memorize?
Mr Kourosh , you don't have to memorize anything for the exam.But your fundamentals and concepts should be clear enough. ------------------ Come on in !! Drinks are on the house in the Big Moose Saloon !!
Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform