HI,
// unicode value for character a is \u0061.
public class
Test {
public static void main(
String args[])
{
System.out.println((char)('\u0061') + " ");
System.out.println((int )('\u0061') + " ");
System.out.println((char)('a') + " ");
System.out.println((int)('a'));
}
}
Answer for the above is a,97,a,97....why is it 97 when converted to int? mat be this is a basic question but i want to make clear..