title: Unable to execute this array program in java
body: <p>I am try to execute this code in eclipse but fail. No Compile Error or Runtime Error but still when i click on "Run", This code is not doing anything.Why? Kindly help. </p>
  
  <pre><code> import java.io.*;
  
   public class Compile {
  
  public static void main(String[] args)
   {
      int size;
  
      try
      {
          BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          size = Integer.parseInt(br.readLine());
          int[] arr = new int[size+10];
  
          for(int i=1;i&lt;=size+10;i++)
          {
              arr[i] = Integer.parseInt(br.readLine());
              System.out.println(arr[i]);
          }
      }
      catch(IOException e)
      {
          System.out.println("Error in input");
      }
  
  }
  </code></pre>