Computer Applications

Is it necessary to use 'break' statement in a switch case statement? Explain.

Java Conditional Stmts

131 Likes

Answer

Use of break statement in a switch case statement is optional. Omitting break statement will lead to fall through where program execution continues into the next case and onwards till end of switch statement is reached.

Answered By

71 Likes


Related Questions