Important MCQ

Which keyword combination makes a ladder?

Q.Which keyword combination makes a ladder?

A) else-if()
B) elseif
C) elif
D) else if
Correct Answer:
Option D
Detailed Explanation:
D) else if is correct. An else-if ladder tests multiple conditions in order. Once one condition is true, its block runs and the remaining branches are skipped; the final else handles no match.