Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes char literals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "char literals" Watch "char literals" New topic

char literals

vijaya dev
Ranch Hand

Joined: Jun 22, 2004
Posts: 33
hello everyone,
Are there many question on character literals. Do I have to memorize the unicode values and the esc sequence for those char literals. And where can I get imformation on Unicode values in char literals.

SCJP 1.4
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Just as long as you know what Unicode is and that is can be used to identify characters in a Java application, you'll be just fine. You shouldn't have to memorize the character set - if you need to know what a particular Unicode character is to solve a problem, I expect you'll be told what it is on the exam. Frankly, I doubt you'd see such a question, but I suppose it's possible.

SCJP Tipline, etc.
I agree. Here's the link:
subject: char literals
It's not a secret anymore!