Asked by nishadi dissanayake on Sep 27, 2024

The OR operator in Java is represented by:

A) !
B) &&
C) | |
D) None of the above

OR Operator

It is a logical operator used in programming languages to combine two or more conditions. It returns true if at least one condition is true.

  • Identify and use logical, relational, and arithmetic operators in Java.