where can I store elements of different types? bot...
# getting-started
o
where can I store elements of different types? both Int and IntArray for example
ah,
ArrayList<Any>
m
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
I was trying to solve the “Special Arrays” problem
🆗 1
that did the trick