GeeCON Prague 2014*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes hi i learned for the past one month 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 "hi i learned for the past one month " Watch "hi i learned for the past one month " New topic
Author

hi i learned for the past one month

giribabu venugopal
Greenhorn

Joined: Jun 24, 2004
Posts: 17
hi
am also be here in sun study group.


my first question

1. ch\u0061r b = 'a'; //vaild or not?
Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
hi..

its valid...
only if that unicode(\u???) represent character a.

i read it from another book by jawsrski.
Just try it on compouter
Gian Franco
blacksmith
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
Hi,

Yes it's valid \u0061 does represent the character 'a'.

I was surprised as well some weeks ago to see this works.

Cheers,

Gian Franco


"Eppur si muove!"
Beny Na
Ranch Hand

Joined: May 26, 2004
Posts: 159
but it does not work in c compiler
 
GeeCON Prague 2014
 
subject: hi i learned for the past one month