Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Ruchi & Hema. It�s very easy to understand why u get comment error. All characters in java are Unicode characters composed of 2 bytes. ruchi comment also compile by compiler but run time it�s not considered. so when java compiler read backslash(\) then u get error because of improper use of backslash. In your case u had \u000a and \u000A . those are not valid escape sequence. if u have above any sequence then u don�t get hat problem even though u have backslash. i think that is y u get error like invalid escape sequence. hema and ruchi if u understand without problem from my explanation then don�t forget to say thanks. Best luck for your exam. Replies:
|
Sponsored Links
|