Run »
public class Main { public static void main(String[] args) { int i = 0; while (i < 10) { System.out.println(i); i++; if (i == 4) { break; } } } }
0
1
2
3