R
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: 202
- Filed under category JAVA
Discusssion
Login to discuss.