Any way I have commented it. Why should the compiler care about the line which is commented
As was stated above, the compiler translates \u000A into a line feed in your source program, so the last two characters are on the next line and not part of the comment.
See the following from the Java Language Spec:
Because Unicode escapes are processed very early, it is not correct to write '\u000a' for a character literal whose value is linefeed (LF); the Unicode escape \u000a is transformed into an actual linefeed in translation step 1 (�3.3) and the linefeed becomes a LineTerminator in step 2 (�3.4), and so the character literal is not valid in step 3. Instead, one should use the escape sequence '\n' (�3.10.6). Similarly, it is not correct to write '\u000d' for a character literal whose value is carriage return (CR). Instead, use '\r'.
[ October 24, 2004: Message edited by: Mike Gershman ]