ArryIndexoutofBoundSexception

class AccessArrayOutsie
{
    public static void main (String[] args)
    {
        int[] array = new int[3];
        array[0] = 3;
        array[1] = 5;
  	array[2] = 6;
 
        for (int i = 0; i <= array.length; i++)
            System.out.println(array[i]);
    }
}
Outrageous Ostrich