123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Education >> View Article

Labeled Statements

Profile Picture
By Author: Pradip Dwevedi
Total Articles: 3
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

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

Total Views: 294Word Count: 593See All articles From Author

Add Comment

Education Articles

1. Best Salesforce Copado Robotic Testing Training | Visualpath
Author: Vamsi Ulavapati

2. Online Igcse Tuitions
Author: Raja Tuitions

3. Isep Foundation Certificate In Environmental Management Exam
Author: Gulf Academy Safety

4. Uk Assignment Help – Making Academic Challenges Manageable
Author: greatassignmenthelpuk

5. Rcdd Certification 2026: Bicsi Requirements, Exam Guide, Training & Preparation
Author: passyourcert net

6. Online Igcse Tuitions Uk
Author: Raja Tuitions

7. Nda Foundation Course After 10th In Delhi: What Students And Parents Should Know
Author: Deepak Sharma

8. Build Your Career In Security And Emergency Response
Author: canarywharfacademy

9. Advance Your Career Through Professional Teaching Qualifications
Author: canarywharfacademy

10. Build Your Future Through Professional Teaching Qualifications
Author: canarywharfacademy

11. Advance Your Professional Skills In Education And Teaching
Author: learnmoreacademy

12. Start Your Professional Journey In Teaching And Education
Author: learnmoreacademy

13. Develop Your Career In Assessment And Quality Assurance
Author: russbridgeacademy

14. Build A Successful Teaching Career Through Professional Training And Development
Author: russbridgeacademy

15. Develop Your Teaching Career With Professional Education And Training Qualifications
Author: russbridgeacademy

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: