Having two values for same index in an array
<p>I am trying to assign a String and a float to a single array index. For example - </p>

<pre><code>New England 98 
Tennessee 58.3

array[0] should store New England and the floating point number 98
array[1] should store Tennessee and the floating point number 58.3
</code></pre>

<p>and so on. 
My questions is how do I store a String object and float at the same index in an array in Java. I thought about pairing them like (key,value) and then store it to one index but I have no idea how to do so</p>

<p>Any ideas how I can assign these two data types to same index?</p>