// example use of break boolean found = false; outer: for ( int row=0; row<rows; row++ ) { inner: for ( int col=0; col<cols; col++ ) { if ( cell[ i, j ].equals( "Waldo" ) ) { found = true; break outer; } } } // break outer will jump here