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