No it won't.
- With boolean operator
||
, if first term istrue
second term won't be evaluated. - With bitwise operator
|
both terms are evaluated
Similarly...
- With boolean operator
&&
, if first term isfalse
second term won't be evaluated - With bitwise operator
&
, both terms are evaluated
Java operators docs here.