This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
 
wood burning stoves
 
subject: '\u000d' and '\u000a' are not valid ?