title: Different types for arguments in HashMap put and get methods
body: <p>Is there a reason that <code>put</code> method is defined with Generics whereas <code>get</code> is with Object, why is <code>get</code> not define like <code>get(K key)</code> ?</p>
  
  <pre><code>put(K key, V value)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>get(Object key)
  </code></pre>