View Single Post
  #1 (permalink)  
Old 12-01-2007, 10:50 PM
mew mew is offline
Member
 
Join Date: Nov 2007
Posts: 70
mew is on a distinguished road
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
Reply With Quote
Sponsored Links