what is break statement?

Programming
Tutor: None Selected Time limit: 1 Day

what is break statement?

Nov 15th, 2014

The break statement has two separate and distinct uses: exiting a loop, and exiting a switch statement. You cannot use a break anywhere but inside a loop or a switch statement.

Reference:

http://www.cis.upenn.edu/~matuszek/General/JavaSyntax/break.html



Nov 15th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Nov 15th, 2014
...
Nov 15th, 2014
Feb 20th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer