assume I have Class A as the parent of Class B and Class C
I initialized two ArrayList<B> bList and ArrayList<C> cList.
Then I have another ArrayList<ArrayList<A>> bigList.
I want to store bList and cList into that bigList by bigList.add(bList) and bigList.add(cList), and this gives me an error. Anyone have suggestion of how I should fix this or another way of doing it?
Thank you