Im aware of the different data types in java but say if one wanted to have two different types of data in a single array; integer and string, would this be possible?
Im aware that java can have an array of each type but I stumbled upon using this and considering it doesn't return an error I thought it could be used:
Object [] myArray = new Object[11];
Just wondering...:P