Q. What is the output of the Java code snippet?
Code:byte a = 0b0000_0001; System.out.println(~a);
β
Correct Answer: (B)
-2
byte a = 0b0000_0001; System.out.println(~a);
You must be Logged in to update hint/solution