title: How to Implement Hashmap in Pojo class in Java
body: <p>Can anyone tell &quot;how to create HashMap in Pojo class.
  like I have</p>
  <pre><code>String semesterMap;
  Int marks;
  Int student_id;
  </code></pre>
  <p>used constructor &amp; getter/setter</p>
  <p>but I don't know where I have to construct hashmap in this Pojo class.</p>