aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes char\u0063='\u0063' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "char\u0063= Watch "char\u0063= New topic


weiliu lili
Ranch Hand

Joined: Apr 11, 2002
Posts: 46
I 've never seen this kind of declaration ,but it is right,could anyone give a bit explanation?
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
\u0063 in Unicode is character 'c'. You can use Unicode inside your code. Therefore
char \u0063='\u0063';
char c = 'c';
Another sample,
ch\u0061r c = 'x';
char c = 'x';
That's all.
Jamal Hasanov
Have you tried LearnNowOnline?
subject: char\u0063='\u0063'