I'd like to use an array to store values of particular things. I would like names to correspond to each value in the array. What I was thinking was, should I perhaps create 2 arrays: String and int. Then, when I call data from say example_int I call the same from string_example and just make them correspond?
So i could say something like
System.out.println("The data inside "+string_example+" is "+example_int;
Is this the only way to do something like this?