Computer Applications

Which of the following statements involves a fall through?

  1. if-else
  2. for loop
  3. if-else-if
  4. switch

Java Conditional Stmts

18 Likes

Answer

switch

Reason — Omitting break statement leads to program execution continuing into the next case and onwards till a break statement is encountered or end of switch is reached.

Answered By

11 Likes


Related Questions