ICSE Class 10 Computer Applications Question 3 of 26

Operators in Java — Question 3

Back to all questions
3
Question

Question 3

What are logical operators? Give an example of each.

Answer

Logical operators operate only on boolean operands and are used to construct complex decision-making expressions. Some of the logical operators are given below:

OperatorSymbol
Logical AND&&
Logical OR||
Logical NOT!