ICSE Class 9 Computer Applications Question 1 of 17

Conditional Constructs in Java — Question 1

Back to all questions
1
Question

Question 1

Explain the significance of break statement in the switch statement.

Answer

The break statement is used inside the switch statement to terminate a statement block. It brings the program control out of the switch statement.