Ask your own question, for FREE!
Computer Science 24 Online
OpenStudy (anonymous):

Which of these will stop the rest of a switch case statement from running? (Select the best answer.) return break an array the ++ operator

OpenStudy (nick67):

break

OpenStudy (nethwa):

It depends on the code. If the switch-case is in a function with a return value then return will stop the switch case (and the whole method^^) like break would do. But i would mark break.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!