filmov
tv
Java Tutorials - 22 Boolean Expressions (Logical Operators)

Показать описание
There are 3 logical operators in the Java programming language:
NOT(!), AND(&&) and OR( ||)
The ! operator is a unary operator, meaning boolean expressions using the ! operator only require 1 operand. Both the && operator and || operator are binary operators, meaning they require 2 operands.
For more information on Logical Operators and a head start on upcoming content:
NOT(!), AND(&&) and OR( ||)
The ! operator is a unary operator, meaning boolean expressions using the ! operator only require 1 operand. Both the && operator and || operator are binary operators, meaning they require 2 operands.
For more information on Logical Operators and a head start on upcoming content: