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

Which of these will stop the rest of a switch case statement from running?

OpenStudy (anonymous):

break(),exit() will stop the flow. and difference between both is that break terminates innermost loop and exit terminates whole flow

OpenStudy (anonymous):

This question needs more information, there are some similarities between languages. But you need to let us know what language you are programming in to get a correct response

OpenStudy (anonymous):

Well it really does depend on language but some sort of "break" usually works.

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!