Run ❯
Get your
own Java
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
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