title: Why I am seeing "Terminated" error on eclipse while running this code
body: <pre><code>public class Reverse {
  
      public static void main(String args[]) {
          char array[] = { 'a', 'x', 'y', 'd', 'd' };
          int length = array.length;
          for (int i = length - 1; i &lt;= 0; i--) {
              System.out.println(array[i] + " ");
          }
  
      }
  }
  </code></pre>
  
  <p>//Above is the code i am runnig and see the message as "Reverse[Java Application]"</p>