A
Q. What will be the output of the following Java code?
class asciicodes {
public static void main(String args[])
{
char var1 = 'A';
char var2 = 'a';
System.out.println((int)var1 + " " + (int)var2);
}
}
- Correct Answer - Option(B)
- Views: 23
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.