Basics Of Java
Search This Blog
If you like any posts in this blog then click
this icon which is present under the post
Thursday, 11 August 2011
Labelled Loops
Java has a facility to give labels to a block of statements.
The general form is
label : Looping statement
Where,
label
-
valid java variable name
looping statement – for,do,while
Example
L1 : while(condition)
{
----------------
---------------
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
No comments:
Post a Comment