1.

Which of the following is used with the switch statement?(a) Continue(b) Exit(c) break(d) doThis question was addressed to me in final exam.The above asked question is from Control Statements topic in section Operators and Control Statements of Java

Answer»

Right OPTION is (c) break

The BEST explanation: Break is used with a switch statement to SHIFT CONTROL out of switch.



Discussion

No Comment Found

Related InterviewSolutions