๐ฎ Output PredictionJV Java Easy+10 XP
Ternary Operator
What does this print?
Java
int x = 7; String result = (x > 5) ? "big" : "small"; System.out.println(result);
What does this print?
int x = 7; String result = (x > 5) ? "big" : "small"; System.out.println(result);