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