Tester

public class Tester {
  public static void main(String[] args) {

          int result = 0;
          for (int i = 0; i < 5; i++) 
              result = i;
          result += 1;
          System.out.print(result);
          
  }
}
What is the output?
Be careful of the space/newline in your answer.