write any two logical operators
Answers
Answered by
1
Operator Description Example
&& Called Logical AND operator. If both the operands are non-zero, then the condition becomes true. (A && B) is false.
|| Called Logical OR Operator. If any of the two operands is non-zero, then the condition becomes true. (A || B) is true.
! Called Logical NOT Operator. It is used to reverse the logical state of its operand. If a condition is true, then Logical NOT operator will make it false. !(A && B) is true.
I hope it will help you
keep smiling
Answered by
13
Explanation:
its or ,and ,not in java symbols in attachment hope it helps
Attachments:
Similar questions