Vidyalelo
Java Programming · Q26

Flow Control

Programming · Java Programming · question 26

Q26

What is the purpose of the "break" statement in a "switch" statement?

A.
Terminates the program
B.
Repeats the case statements
C.
Exits the loop containing the switch statement
D.
Exits the switch statement prematurely
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board