This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, this is one of those "it SHOULD work" things. Im getting an ArrayOutOfBounds error and not being too familar with it, I thought someone might be able to help point me to the trouble maker. It seems to refer to line #582 and #32. Anybody been through this type of error?
Because if count represents size of the array, array index will starts from zero and ends with n-1 (where n is the length of the array). So with the condition the loop will iterate through nth element also. So there is a chance to get ArrayIndexOutOfBounds Exception.