Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

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]

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand