A
Q. What is the output of the Java code snippet below?
Code:
int a = 20, b=30;
int total = a>10&&b<10?65:75;
System.out.println(total);
int total = a>10&&b<10?65:75;
System.out.println(total);
- Correct Answer - Option(C)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.