My Java Quiz

The ultimate place to learn Java!

Question #83: What is the output of the following code?

int x=20;
String sup = (x < 15) ? "small" : (x < 22)? "tiny" : "huge";
System.out.println(sup);