1.

What is the output of this program?

class output {
public static void main(String args[])
{
char var11 = 'A';
char var12 = 'a';
System.out.println((int)var11 + " " + (int)var12);
}
}

A. 162
B. 67 95
C. 65 97
D. 66 98
E. None of these
Answer» D. 66 98


Discussion

No Comment Found

Related MCQs