Class that demonstrates the ternary operator.