Objective Type Questions with Answers on Java Control Statements. Here five Multiple Choice Questions and Answers are added and each question contain four options as possible answer but only one option is the correct answer. Select one and check your answer with the given correct answer.
(1)
Which of the following is TRUE about the switch statement in Java?
[A]
A default send execution immediately to the end of the switch statement.
[B]
A break send execution immediately to the end of the switch statement.
[C]
A case send execution immediately to the end of the switch statement.
[D]
The statements in a switch continue to execute as long as the condition at the top of the switch remains true.