I wrote the following class:
public class TestOne { public static void main(String[] args) { int count = 0; for (int i = 0; i < 100
The semicolon makes the body of the for loop empty. It is equivalent to:
public class TestOne { public static void main(String[] args) { int count = 0; for (int i = 0; i < 100; i++) { } count++; System.out.println(count); } }