hashmap using a "employee class" as the value
<p>I created a <code>HashMap</code> where the keys are <code>Integers</code> and the values are of the <code>Employee</code> class. <code>Employee</code> contains the employee's first name, last name and address. I am having issues with printing out the values. Here is what i tried.</p>

<pre><code>employees.put(5, e1);

String test=employees.get(5).toString();
System.out.println(employees.toString());
System.out.println(test);
</code></pre>

<p>output:</p>

<pre><code>{5=identitymanagement.Employee@6da264f1}
identitymanagement.Employee@6da264f1
</code></pre>

<p>What am I doing wrong?</p>
