Q. What will be the output of the following Java code?
Code:
class Output
{
public static void main(String args[])
{
boolean a = true;
boolean b = false;
boolean c = a ^ b;
System.out.println(!c);
}
}
β
Correct Answer: (C)
false