Is following true in java:
In java if you use ||
then after getting first true condition it neglects the rest conditions. That is If you write if(a || b || c)
in java and java finds a
is true then it will not check for b
and c
, just go into the if case.