Thread
:
array max num
View Single Post
04-09-2003, 03:17 PM
#
3
(
permalink
)
abc123
bloomberg
Join Date: Jun 2002
Location: bloomberg
Posts: 263
what is getSize() sposed to do? if you just want to loop through the array:
Code:
int ints[] = new int[100]; for(int i = 0; i < ints.length; i++){ if(ints[i] == ....) }
you won't get index out of bounds then.
__________________
-- bloomberg.
abc123
View Public Profile
Visit abc123's homepage!
Find More Posts by abc123