posted 21 years ago
hello there i have this arraylist (arr2) with the values 1, 2, 5 and 10 inside it.
the problem is that i want to get each value out one at a time use i each one seperatly in my if statement (if (i%10 == ((Integer)arr2.get(arr2.size()-1)).intValue()) ) and then use the outcome in diffrent parts of my code.
so for example i want to get the number 1 from the arraylist and then use the outcome in another part of my code and then do the same with the number 2.
if anyone can help it would be great
thanks ben