Using arrayList to store data from one class to another.
Hi i am taking my first java course and i have been stuck for a couple of days on a certain assignment. What i want to do is send string type data from one class and store it in a arrayList of another class. Also the data that i am sending over is in 3 categories. The assignment is to store an item from a store. the three categories are item name, item department, and item cost. I would be sending them from the item class to the shopping cart class.