Q. What is the output of the Java code snippet?
Code:boolean b=false; b = !b; System.out.println(b);
β
Correct Answer: (A)
true
boolean b=false; b = !b; System.out.println(b);
You must be Logged in to update hint/solution