Q. What is the output of the Java code snippet below?
Code:
int a = 20, b=30; boolean result = a&b?true:false; System.out.println(result);
β
Correct Answer: (D)
Compiler error
int a = 20, b=30; boolean result = a&b?true:false; System.out.println(result);
You must be Logged in to update hint/solution