About Question enthuware.ocajp.i.v7.2.929 :
Posted: Fri Jul 15, 2016 9:00 am
The explanation says: "Observe that (rightTurn && !pedestrian || otherLane) is true, therefore ( ? && !pedestrian && greenLight ) does not matter."
Since the part of "rightTurn && !pedestrian" is true does the short circuit operator || even consider otherLane?
Would the correct explanation then be:
Observe that "rightTurn && !pedestrian" is true, therefore "|| otherLane)" and "( ? && !pedestrian && greenLight )" does not matter?
Since the part of "rightTurn && !pedestrian" is true does the short circuit operator || even consider otherLane?
Would the correct explanation then be:
Observe that "rightTurn && !pedestrian" is true, therefore "|| otherLane)" and "( ? && !pedestrian && greenLight )" does not matter?