Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes ch\u0061r a = 'a'; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

ch\u0061r a = 'a';

kay jee
Greenhorn

Joined: Sep 17, 2006
Posts: 21
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

Joined: Oct 13, 2005
Posts: 43423
    
  32
Welcome to the Ranch.

Please don't post the same question twice.
 
wood burning stoves
 
subject: ch\u0061r a = 'a';
 
jQuery in Action, 3rd edition