title: Accessing a HashMap from a different class
body: <p>I have a hashmap in my class titled DataStorage:</p>
  
  <pre><code>HashMap&lt;String, Integer&gt; people = new HashMap&lt;String, Integer&gt;();
  
  people.put("bob", 2);
  people.put("susan", 5);
  </code></pre>
  
  <p>How can I access the data in this HashMap in a different class?</p>