A
Q. What is the output of the Java code snippet?
Code:
boolean b=false;
b = !b;
System.out.println(b);
b = !b;
System.out.println(b);
- Correct Answer - Option(A)
- Views: 20
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.