A
Q. What is the output of the Java code snippet?
Code:
int a=4, b=6, c=8;
boolean d = a>5 && b>5 & c++<10;
System.out.println(c);
boolean d = a>5 && b>5 & c++<10;
System.out.println(c);
- Correct Answer - Option(B)
- Views: 10
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.