As we know java follows unicode system which supports all alphabets of many languages. I searched and found that Unicode value for अ is 2309 and value for आ is 2310 which are alphabets of DEVANAGRI language. The code i have written is something like this.
class Test
{
public static void main(String args[])
{
char a=(char)2310;
System.out.println(a);
}
}
No matters I write 2309 or 2310 the output is '?' always. How this is happening?