I think that store a String and an Integer in the same array in Java would be more efficient in some cases, but I know that Java is strongly typed. Is there a way to do that?, If there’s no, what can I do? Answer Defining “more efficient” usually means less storage space or less processor intensive. These are diametrically