Examveda

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

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


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java