[Solved] Java -Boolean expression of variable and it’s inverse


true && !true => false
false && !false => false

the only other option is

Boolean x = null;
x && !x => NullPointerException.

2

solved Java -Boolean expression of variable and it’s inverse