Why does hashCode() return zero before items are added to HashMap?
<pre><code>Map map = new HashMap();
System.out.println("hashCode:"+map.hashCode()); //hashcode==0 why?

map.put("test","test");
System.out.println("hashCode:"+map.hashCode()); //hashcode be okay here
</code></pre>

<p>How can I get hashCode after <code>Map map = new HashMap();</code> ? (like: <code>new Object().hashCode()</code>)</p>
