enter image description here
Specifically, which class should I put my ArrayList in?
I may be overthinking this. Technically it’ll be accepted if I squeezed everything into the Client class. Should my arraylist be stored in the client or should I create a class where I manage all the arrays and stuff, say a DataManager. And then create an object of this DataManager in the client where I can send things to the menu etc?
I’ve tried setting it as a class variable in the Client for now.
Marcus Yap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1