This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Label control doubt?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Label control doubt??" Watch "Label control doubt??" New topic
Author

Label control doubt??

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

The code below is from here

I'm failing to understand the o/p. Anyone help me please with the flow.


[HENRY: Added Code Tags. Formatted Code. And Disabled Smilies.]
[ December 20, 2006: Message edited by: Henry Wong ]

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Try adding some println statements to illustrate what's happening...

[ December 20, 2006: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Aniket Patil
Ranch Hand

Joined: May 02, 2006
Posts: 218
All you need is some patience

[ December 21, 2006: Message edited by: Aniket Patil ]

SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Label control doubt??
 
Similar Threads
Break and continue inside the case statement
what is the diffrence b/W i and i++ and explain inner loops with conditions
Regarding Continue Keyword
pls consider this program i don't know how h value is incremented in Label1:
compile time error