1.

What is the output of this program? class mainclass { public static void main(String args[]) { boolean var1 = true; boolean var2 = false; if (var1) System.out.println(var1); else System.out.println(var2); } }

A. 0
B. 1
C. True
D. False
Answer» D. False


Discussion

No Comment Found