where can I store elements of different types? both Int and IntArray for example
oday
07/23/2021, 5:53 PM
ah,
ArrayList<Any>
m
Matteo Mirk
07/29/2021, 9:07 AM
Are you sure that would be a good solution? How are you going to determine the type of each element? More important: why do you need an heterogeneous list? What’s the problem you’re trying to solve with it?
o
oday
07/30/2021, 6:44 PM
I was trying to solve the “Special Arrays” problem