Results 1 to 3 of 3
- 12-04-2010, 06:07 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 59
- Rep Power
- 0
ArrayIndexOutOfBoundsException: 10 ??
hey, I'm receiving this message not for the first time in my program, could you tell me why this is happening and how to fix it?
Here's the method
public String toString(){
int i;
for (i=1; i<MAX && _points[i] !=null; i++);
return ("The polygon has 5 points: " +"("+ _vertices[i].toString() +")");
}
//thanks.
- 12-04-2010, 06:32 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,399
- Blog Entries
- 7
- Rep Power
- 17
- 12-04-2010, 06:56 PM #3
Member
- Join Date
- Dec 2010
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
ArrayIndexOutOfBoundsException: 0
By mxsar in forum New To JavaReplies: 3Last Post: 11-16-2010, 10:59 PM -
ArrayIndexOutOfBoundsException
By Corey in forum New To JavaReplies: 5Last Post: 02-02-2010, 01:25 AM -
ArrayIndexOutOfBoundsException
By flaskvacuum in forum New To JavaReplies: 6Last Post: 07-14-2009, 05:36 PM -
ArrayIndexOutofBoundsException help
By filly444 in forum New To JavaReplies: 9Last Post: 09-03-2008, 05:16 PM -
ArrayIndexOutOfBoundsException
By daredavil82 in forum New To JavaReplies: 2Last Post: 12-14-2007, 09:29 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks