Jump to content

semantics of break and continue

Featured Replies

what are the semantics of break and continue in java?

Thanx

  • 1 month later...

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.

Hm, I'd just recreate the loop after the break.

Originally posted by SyntaXVB5

Hm, I'd just recreate the loop after the break.

What?

  • 4 months later...

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.