public class Break { public static void main(String[] args) { int i; for ( i = 0; i < 10; i++ ) // i = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 { if ( i == 4 ) break; // Terminate the loop System.out.println(i); } System.out.println("Done"); } }