Chapter 5 Flashcards
1
Q
What is short circuit evaluation?
A
- With the && operator, if the first expression is false, the second is never evaluated
- With the || operator, if the first expression is true, the second is never evaluated, but if the first is false, it is