aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

ch\u0061r a = 'a';

kay jee

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

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

Please don't post the same question twice.
I agree. Here's the link:
subject: ch\u0061r a = 'a';
Similar Threads
char.. play
How is ch\u0061r a ='a'; valid?
ch\u0061r a = 'a';
Is ch\u0061 a='a' a valid declaration?
hi i learned for the past one month