I wrote the following class:
public class TestOne { public static void main(String[] args) { int count = 0; for (int i = 0; i < 100
after iteration ending you are incrementing count value
After for loop you are using semi colon so your for loop is end
for (int i = 0; i < 100; i++);
{ count++; }
count incremental is not in the for loop. it is outside the loop;