Pls look at the following code
class D {
public static void main (
String[] args) {
char a=\u0030;
char b=\u0031;
char c=\u0032;
char y=\u0039;
/* the values from \u0030 to \u0039 are working fine when assigned char variable without the necessary '' ( i mean '\u0031').However ,usage of \u0001 to \u0029 and \u0040 and greater give a compile time error.
what is the reason? shouldnt the assignment be illegal??? */
System.out.println(""+a+b+c+y);
}
}
Pls clarify !