Thread
:
java.lang.ArrayIndexOutOfBoundsException
View Single Post
#
1
(
permalink
)
12-01-2007, 10:50 PM
mew
Member
Join Date: Nov 2007
Posts: 70
java.lang.ArrayIndexOutOfBoundsException
I am stuck. I have following code segment that is throwing
java.lang.ArrayIndexOutOfBoundsException.
Code:
int []array = new int[10]; for(int i=1;i<=10;i++) array[i] = i;
My array is of size 10. Where is the problem
Sponsored Links
mew
View Public Profile
Send a private message to mew
Find all posts by mew