Learn Java in 2018, If Else Statement, Learn Java on Codecademy

Lesson Summary

In this lesson we go over "if-else" statements. An "ielse" statement runs if the "if" statement returns a false . The else is basically a default "if all else fails". Your if statement will check if something is true, if it is not, the else will run.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required