What does the NOT operator do in this Java code?
boolean isRaining = true; boolean canGoOut = !isRaining;
The NOT operator has no effect
canGoOut is false
canGoOut is true
Syntax error in using the NOT operator