What are the valid identifiers in the following? Select all valid answers or none. a. char a = 'a'; b. char \u0061 = 'a'; c. ch\u0061r a = 'a'; All are correct!!! Surprised at b & c are correct?
Author and all-around good cowpoke
posted 15 years ago
The reason being that Unicode gets translated during the reading of a line, so the compiler sees a translated String. This is the reason you can't use the Unicode representation for carriage-return and new-line in Strings - they get translated into a line end when the compiler reads the source. Bill