my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Why cannot declare char c = '\u000a' 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 "Why cannot declare char c = Watch "Why cannot declare char c = New topic
Author

Why cannot declare char c = '\u000a'

Yan Bai
Ranch Hand

Joined: Jul 21, 2002
Posts: 125
And all the escape sequences except \b, \t and
\" cannot be declared. Why?


SCJP 1.4
Shishio San
Ranch Hand

Joined: Aug 29, 2002
Posts: 223
Check the FAQ


Whatever doesn't kill us ...<br />Is probably circling back for another try.<br />SCJP 1.4
 
Don't get me started about those stupid light bulbs.
 
subject: Why cannot declare char c = '\u000a'
 
Similar Threads
why native method cannot be abstract?
modifiers
protected class
static class
Java Basics