ch\u0061r a = 'a'; Is a valid declaration right. but my IDE doesn't think so. His name is eclipse 3.2. and im using jdk1.5 Please help This is wat it says: Got an exception - unexpected char: '\'
Are you sure you have not copy n paste the code while trying on IDE, try by typing through keyboard or something. This must be your system specific problem.