Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Batch: Working with labels

Labels are used to organize the code.

How to Define a label?
Using :, you can define a label.



ECHO Hello, Good Morning

ECHO Starting execution

ECHO Program Execution is in process

ECHO Program finished Execution

Hello, Good Morning
Starting execution
Program Execution is in process
Program finished Execution

GOTO statement
GOTO is used to execute the statements from given label (I mean you can jump to any other label).

GOTO label

This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here

Share the post

Batch: Working with labels


Subscribe to Java Tutorial : Blog To Learn Java Programming

Get updates delivered right to your inbox!

Thank you for your subscription