A

Admin • 802.91K Points
Coach

Q. What is the output of this program?

Code:
class booloperators {
public static void main(String args[])
{
boolean var1 = true;
boolean var2 = false;
System.out.println((var2 & var2));
}
}
  • (A) 0
  • (B) 1
  • (C) true
  • (D) false
  • Correct Answer - Option(D)
  • Views: 4
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.