Q. What is the output of the Java code snippet?
Code:int a=3, b=1;
int c = a & b;
System.out.println("CAT " + c);
β
Correct Answer: (B)
CAT 1
int a=3, b=1;
int c = a & b;
System.out.println("CAT " + c);
You must be Logged in to update hint/solution