title: what does it mean arrays.length -1 in java?
body: <p>I have a problem understanding what array.length-1 means in my code.</p>
  
  <pre><code>public static void main(String args[]){ 
      int[] array = new int[]{23, 75, 982, 22, 74, 45, 0, 76};
      for (int i=0; i&lt; array.length -1; i++) {
              System.out.println(array[i]);
          }
  }
  </code></pre>