Lesson

Learn Java in 2018, Ternary Conditional, Learn Java on Codecademy

Lesson Summary

In this lesson we go over the Java ternary conditional. The ternary conditional allows us to evaluate an expression to true or false, and a statement executes if the boolean expression is true, and a statement gets executed if the expression is false.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: