Can the ternary operator `?:` be nested in Java?
Yes, you can nest ternary operators to handle more complex conditions, with each ternary operator inside the true or false part of the previous one.
Impressive! You've correctly identified how nested ternary operators work.
Can you provide an example of a nested ternary operator to handle multiple conditions?