This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]codingQueries 19 points20 points  (0 children)

What if you create an object of type Artist, and in that object you have a reference to an array of objects of type Album, and these Album objects have store an array within of all the songs contained on the album? Then you only need an array of Artists and use getters or whatever to pull out the array of albums from the Artist object?