Answer: && as well as || will stop further evaluation as soon enough evaluating has already occurred. See link from Utah edu which explains well the logic. The other syntax will evaluate the entire expression regardless of having enough already done.
Not sure what course is right for you?
Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.