//For Loop in Java public class ForLoops { public static void main(String[] args) { for(int x = 1; x <= 100; x++) { //Each execution of the loop prints the current value of x System.out.println(x); } } }