Learn Java in 2018, Boolean Operators - ! (NOT), Learn Java On Codecademy

Lesson Summary

In this lesson we go over the Java boolean operator "NOT" which is represented by an exclamation point (!). The not operator will evaluate an expression and return the oposite. If the value returns true, than !(true) would return false and !(false) would return true.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required