> What symbol is used for the logical or in java?

What symbol is used for the logical or in java?

Posted at: 2014-12-18 
Two vertical pipes. this key is found above the return key and is used with the Shift modifier.

the characters looks like this ||.

it can be used like this

if (condition || otherCondition)

or

while (condition || otherCondition)

logical and is && in case you were wondering.

if (condition && otherCondition)

{

}