Guest gigi Posted April 10, 2003 Share Posted April 10, 2003 what are the semantics of break and continue in java? Thanx Link to comment Share on other sites More sharing options...
blike Posted April 10, 2003 Share Posted April 10, 2003 Semantics or syntax ??? Link to comment Share on other sites More sharing options...
phubuh Posted May 24, 2003 Share Posted May 24, 2003 Just what you'd expect: break breaks out of a loop, and continue breaks out of the current iteration, performs eventual post-iteration tasks, and goes into the next one. Link to comment Share on other sites More sharing options...
Guest SyntaXVB5 Posted May 29, 2003 Share Posted May 29, 2003 Hm, I'd just recreate the loop after the break. Link to comment Share on other sites More sharing options...
phubuh Posted May 30, 2003 Share Posted May 30, 2003 Originally posted by SyntaXVB5 Hm, I'd just recreate the loop after the break. What? Link to comment Share on other sites More sharing options...
bigjnorman Posted October 17, 2003 Share Posted October 17, 2003 why not just use continue? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now