Sum up values in an array list in java
- by user1449997
Hello to all tired and frustrated programmers,
There is a problem I can't solve:
In my array list there are Object arrays with the length of three and always on the last cell of the array there is a double.
I need a loop which goes through the array list and sums up all doubles. (I need also some other thing from the arrays so a general idea how to loop through an array list would be perfect :-))
Any ideas? Thanks for your help,
Greetings Demian