1
visibility
11. What is the output of this program?
class Test {
public static void main(String args[])
{
char a = ‘A’;
a++;
System.out.print((int)a);
}
}
66
67
65
64
ASCII value of ‘A’ is 65, on using ++ operator character value increments by one.