aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes '\u000d' and '\u000a' are not valid ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark " Watch " New topic
Author

'\u000d' and '\u000a' are not valid ?

Prashant Neginahal
Ranch Hand

Joined: Dec 04, 2002
Posts: 76
Hi Everybody,
why '\u000d' and '\u000a' are not valid ?
If char c='\n' is possible why can't
char c='\u000a', when both have same int value 10...?

------------
Prashant


--------------<br />Prashant<br />SCJP-91%
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

check out the FAQ. It answers your question.
 
 
subject: '\u000d' and '\u000a' are not valid ?
 
Similar Threads
char literals
char value assignment
2 questions from Mock Exams.
Escape sequences and compiler errors
StringBuffer