October 25th, 2012, 10:56 AM
How do i add the following to an ArrayList please?
Hi, im doing a small bit of work and i cannot figure this out.
I want to create a new 'CD' object in a ArrayList belonging to the Store class by allowing the user to input the data.
Example: The user enters in the name of the artist, track name, album name, year of release and the price of the cd.
Is this possible? It's been killing me trying to figure it out
Any help would be much appreciated :P
Sorry about the mess, not allowed to post urls for the pastebin =(
Any help would be much appreciated really. Thanks !!
October 26th, 2012, 06:33 AM
I didnt look through all the code but from what I saw, I dont see why your code shouldnt work. What problem are you having?