Quote:
|
Originally Posted by ajayNCSTian
//char a = '\u007';
/*char b = '\u007'*/;
|
The javac compiler makes several passes on the source code before it even checks keywords and classes... In this case,
'\u007' is not a valid unicode character...
Since u're doing a program in Unicodes, you should know that unicode escape sequences are composed of a leading \u and four HEX characters...
Even when the code is commented, it will give error since, all the code is first parsed and all the unicode/hex/octal escape sequences are checked before actually compiling it...