Advertisements
Advertisements
Question
Which of the following keywords can be used to terminate a switch case as well as a loop construct?
Options
Continue
Void
Break
Stop
MCQ
Solution
Break
Explanation:
In Java, the break keyword is used to end both loop constructs and switch situations.
shaalaa.com
Is there an error in this question or solution?