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