10 Java Tutorial - Operators Logical Operator - Study Viral
Logical Operators are used when we want to check multiple conditions together.The logical && operator doesn't check second condition if first condition is false. It checks second condition only if first one is true.
The logical || operator doesn't check second condition if first condition is true. It checks second condition only if first one is false.
Arithmetic Operators are those operators which can to some mathematical work.
Symbol | Description |
---|---|
&& | Logical AND |
|| | Logical OR |