1Z0-811 Primitives, Strings and Operators • 10 Questions
10 1Z0-811 Primitives, Strings and Operators practice questions with answers and explanations. Free, no signup.
Given the following Java code:
```java
public class Main {
public static void main(String[] args) {
int a = 10, b = 5, c = 15;
int result = (a > b) ? (a > c) ? a : c : (b > c) ? b : c;System.out.println(result == 15 ? "Yes" : "No");
}
}```
What is the output?
Choose an answer to begin — your selection is scored in the full session.
9 questions · instant feedback and full explanations after every question.