KnowledgeBoat Logo

Computer Applications

Explain 'Fall through' with reference to a switch case statement.

Java Conditional Stmts

79 Likes

Answer

break statement at the end of case is optional. Omitting break leads to program execution continuing into the next case and onwards till a break statement is encountered or end of switch is reached. This is termed as Fall Through in switch case statement.

Answered By

48 Likes


Related Questions