Q. What is the output of the Java code snippet?
Code:
int a=4, b=6, c=8; boolean d = a>5 && b>5 & c++<10; System.out.println(c);
β
Correct Answer: (B)
9
int a=4, b=6, c=8; boolean d = a>5 && b>5 & c++<10; System.out.println(c);
You must be Logged in to update hint/solution