+ 1
Can a Array be ints and strings at the same time?
lol
2 Respuestas
+ 6
An array must be of one data-type.
Some solutions:
* You can use an array of type Object
OR
* You can create your own class (like a struct) with a String and int as instance variables. Then make an array of the class.
0
thank you!!!