int[] responses = { 1,2,6,4,8,5,9,7,8,10,1,6,3,8,6,10,3,8,2,7,6,5,7,6,8,6,7,5,6,6,5,6,7,5,6,4,8,6,8,10 };
    int lenResponses = responses.length;
    int sumResponses = 0;
    for(int x=0;x<=lenResponses;x++ )
    {
        sumResponses += responses[x];
    }
How did the code above trigger the exception? I was trying to find the sum of all numbers in the array.
