Q. What is the output of this Java snippet?
int a = 0b111;
System.out.println(a);
int a = 0b111;
System.out.println(a);
β
Correct Answer: (B)
7
You must be Logged in to update hint/solution