File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

char\u0063='\u0063'

 
weiliu lili
Ranch Hand
Posts: 46
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I 've never seen this kind of declaration ,but it is right,could anyone give a bit explanation?
 
Jamal Hasanov
Ranch Hand
Posts: 411
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weiliu,
\u0063 in Unicode is character 'c'. You can use Unicode inside your code. Therefore
char \u0063='\u0063';
is
char c = 'c';
Another sample,
ch\u0061r c = 'x';
is
char c = 'x';
That's all.
Jamal Hasanov
www.j-think.com
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic