foor loops in java code example
Example 1: how to make a loop in java
for (int i = 0; i < 3; i++) {}
Example 2: java loop
for (int i = 0; i < 10; i++) {
System.out.println(i);
}
for (int i = 0; i < 3; i++) {}
for (int i = 0; i < 10; i++) {
System.out.println(i);
}