Vidyalelo
Java Programming · Q43

Miscellaneous Java

Programming · Java Programming · question 43

Q43

What does the `break` statement do when used in a `switch` statement in Java?

A.
It exits the `switch` statement and continues with the next statement after it
Answer
B.
It ends the program execution
C.
It restarts the `switch` statement from the beginning
D.
It skips the current case and continues with the next case

Answer: Option A

Solution

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