Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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.
Answer & Explanation
Option: [B]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
Assam Direct Recruitment Test Series

Computer Science Topics