I wrote the following class:
public class TestOne { public static void main(String[] args) { int count = 0; for (int i = 0; i < 100
By adding that semicolon, you are declaring the for statement without a block to loop.
This causes count++ to only be executed once when it's passed, rather than 100 times when it's looped over.
count++