File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Unicode char 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 "Unicode char" Watch "Unicode char" New topic
Author

Unicode char

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Does anybody know whether SCJP 1.2 exam expects us to know all the values of Unicode char i.e, individual values of 'u\XXXX'.
Thanks.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Its not a memory test,Yes you need to remember certain things ,but not to that extent.
Hey Tony, any comments.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I've never heard of any questions depending on individual values, and can't imagine that any would ever be asked.


"I'm not back." - Bill Harding, Twister
josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216
Is there a way to print the unicode value for a particular character???
Tony Alicea
Desperado
Sheriff

Joined: Jan 30, 2000
Posts: 3222
    
    5
You do not need to know what the Unicode representation of any character is.


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Shan- sure. Just cast it to an int, and print it. If you want it in hexadecimal, use Integer.toHexString(int).
Since this isn't certification-related, followups to Shan's question should probably go to Java In General.
 
 
subject: Unicode char