A
Q. What is the output of the Java code snippet?
Code:
byte a = 0b0000_0001;
System.out.println(~a);
System.out.println(~a);
- Correct Answer - Option(B)
- Views: 10
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.