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