логические операторы на Java
-----------------------------------
| Logical Operato | Java Operator | boolean wakeupTime = true;
----------------------------------- boolean sleeping = false;
| AND | && | if(wakeupTime && !sleeping){
| OR | || | makeCoffee();
| NOT | ! | }
-----------------------------------
Snaith The He He Boy