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