Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

ch\u0061r a = 'a';

 
kay jee
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
ch\u0061r a = 'a';
Is a valid declaration right.
but my IDE doesn't think so. His name is eclipse 3.2. and im using jdk1.5
Please help
This is wat it says:
Got an exception - unexpected char: '\'
 
Campbell Ritchie
Sheriff
Pie
Posts: 49391
62
  • Mark post as helpful
  • send pies
  • Report post to moderator
Welcome to the Ranch.

Please don't post the same question twice.
 
    Bookmark Topic Watch Topic
  • New Topic