Working with ArrayLists, Arrays, superclasses, and subclasses
in
Programming Questions
•
25 days ago
I'm stuck on a program I'm writing. Here's what I need: I have class Base, and four subclasses of that class called Base1, Base2, ect. I need a ArrayList for each of the subclasses, but I need to be able to make calls to objects inside them. I think an Base[] array that holds the four ArrayLists may work. Sorry about how loose this is, I can get a code example up in a day or two.
Thanks.
1