A
Q. 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);
}
}
- Correct Answer - Option(A)
- Views: 16
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.