File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

'\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...?


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

Joined: Oct 17, 2001
Posts: 4313

check out the FAQ. It answers your question.
I agree. Here's the link:
subject: '\u000d' and '\u000a' are not valid ?
It's not a secret anymore!