A
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);
boolean c = a>1 || b++<10;
System.out.println(b);
- Correct Answer - Option(A)
- Views: 13
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.