Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi i learned for the past one month

 
giribabu venugopal
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
am also be here in sun study group.


my first question

1. ch\u0061r b = 'a'; //vaild or not?
 
Beny Na
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Beny Na
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but it does not work in c compiler
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic