ALL >> Education >> View Article
Labeled Statements

The concepts of labeled statements are important, when you are preparing for SCJP/OCJP certifications. Let’s read more about labeled statements in the article.
Java doesn’t provide goto statements. Java contains several ways to jump from one statement to another in certain circumstances. Below we discuss such statements.
Labeled break statement:
Break statement will be used when you want to terminate the loop execution at particular condition and execute next statements after the loop.
Example 1:
If the break occurs within a nested loop, the flow will jump to the next statement in the next outer loop. For example, in the following case
for( int k=0; k< 10; k++){
while ( i < 5) {
i=b.call();
if(i
Add Comment
Education Articles
1. Tested Tutor Reading Comprehension In Wellington: Enhancing Literacy Skills For Lifelong LearningAuthor: khizar haider
2. Studyauracle
Author: Studyauracle
3. 10 Digital Marketing Tools You Must Use In 2025
Author: neetu
4. School Tutor Website In Palm Beach
Author: khizar haider
5. Studying Mbbs Abroad Is A Way To Successful Mbbs Career
Author: Mbbs Blog
6. Join Microsoft Dynamics 365 Courses – Online Training
Author: Pravin
7. Gcp Cloud Data Engineer Training | India
Author: naveen
8. Generative Ai For Devops Training Classes | Visualpath
Author: Visualpath
9. Best Az-305 | Azure Solutions Architect Expert Training
Author: gollakalyan
10. Tomorrow Starts With A Healthy Today
Author: Akshaya Patra
11. Gen Ai Training In Hyderabad | Best Generative Ai Training
Author: Susheel
12. Top Sap Ariba Training Institutes | Sap Ariba Training In Bangalore
Author: krishna
13. Safety & Health At Work - Qqi Level 5 Qualification
Author: johnnytorrt
14. School Tutor Website In Boynton Beach
Author: khizar haider
15. How To Become A Special Needs Tutor In Jacksonville
Author: khizar haider