What will be the output of the following Java program?
class mainclass {
public static void main(String args[ ])
{
char a = 'A';
a++;
System. out. print((int)a);
}
}
1
66
2
67
3
65
4
64
What will be the output of the following Java program?
class mainclass {
public static void main(String args[ ])
{
char a = 'A';
a++;
System. out. print((int)a);
}
}