And operator checks both the sub-conditions whereas OrElse operator does __________

Duyên Trương

New member
And operator checks both the sub-conditions whereas OrElse operator does __________
A. Short-circuit evaluation
B. Short-hand evaluation
C. Short evaluation
D. Circuit evaluation
 
Answer: A
Explanation: Or operator checks both the sub-conditions, OrElse operator does short-circuit evaluation which means in case of OrELse operator, if any of the sub-condition is true it does not check the sub-conditions following it, but returns true.
 

Tìm kiếm

Back
Top