I was wondering how you can define an array of objects within another object.
For example, let's say I have a class called "User", and another class called "Address".
A user can list an unlimited number of addresses. How do I do this?
My guess is that I need to declare an array of "Address" objects within the "User" class, but I am not sure how to do it.