You might want to read more on logical AND & OR. The concept you are referring to in this question is short-circuiting where if the first condition is false,the entire thing fails. The evaluation...