Q. What is the output of the Java code snippet?
Code:
int a=4, b=8; boolean c = a>2 ^ b<10 & false; System.out.println(c);
β
Correct Answer: (B)
true
int a=4, b=8; boolean c = a>2 ^ b<10 & false; System.out.println(c);
You must be Logged in to update hint/solution