1.

What is the output of this program?

class output {
public static void main(String args[])
{
boolean var11 = true;
boolean var12 = false;
if (var12)
{
System.out.println(var12);
}
else
{
System.out.println(var11);
}
}
}

A. 0
B. false
C. true
D. 1
E. None of these
Answer» C. true


Discussion

No Comment Found

Related MCQs