Java Playground - Nested-if-else in Ternary Operator: Online Interpreter, Compiler & Editor | Sololearn