title: What is a Key-Value Pair?
body: <p>I am teaching myself Java so I can program android applications and came across the need to use a key value pair, but don't know what it is.</p>
  <p>What I am confused about is how this is different from a normal variable. Say a variable of type String points to an object or int variable points to int value. Isn't that variable a &quot;key&quot;, and the object a &quot;value?</p>