1. public static void main(String[] args) {2. for (int i = 0; i <= 10; i++) {3. if (i > 6) break;4. }5. System.out.println(i);6. }