Retrieving information from arraylists
in
Programming Questions
•
2 years ago
Hi there,
i was wondering how i would retrive a piece of information from an object in an arraylist. The idea is to create a load of ellipses and then make another ellipse which is the average of all of them. To do this i think i'd need to find all the x positions, add them together, and then divide by the size of the arraylist but i'm not too sure how to recall the x positions of a load of objects in the same class.
Cheers
1