Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 30th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Java break statement
  2. while (true) { // A
  3.     while (true) { // B
  4.          break;
  5.     }
  6. }
  7.        
  8. A: while (true) {
  9.     B: while (true) {
  10.          break A;
  11.     }
  12. }
  13.        
  14. while (true) {
  15.     while (true) {
  16.         goto done;
  17.     }
  18. }
  19. done:
  20.    // Rest of the code here.