posted 6 years ago
Hey,
I have an ATM class, that simulates an ATM. When this class is created in my App, it populates an arrayList with a set of account objects
Im trying to access an account object within this arrayList and return the balance of that account
Here is my ATM class
and here is my account class
Im able to access the slot in the array that has an Account, but how do I access the methods of that particular account object