@@ -0,0 +1,1017 @@
+import java.util.*;%0Apublic class HashMap %7B%0A%0A   public static void main(String args%5B%5D) %7B %0A      // Create a HashMap%0A      %0A      HashMap hm = new HashMap(); %0A      // Put elements to the map%0A      %0A      hm.put(%22Veer%22, new Double(3434.34));%0A      hm.put(%22Rus%22, new Double(123.22));%0A      hm.put(%22Akash%22, new Double(1378.00));%0A      hm.put(%22Dharm%22, new Double(99.22));%0A      hm.put(%22Gajju%22, new Double(-19.08));%0A      %0A      // Get a set of the entries%0A      Set set = hm.entrySet();%0A      %0A      // Get an iterator%0A      Iterator i = set.iterator();%0A      %0A      // Display elements%0A      while(i.hasNext()) %7B%0A         Map.Entry me = (Map.Entry)i.next();%0A         System.out.print(me.getKey() + %22: %22);%0A         System.out.println(me.getValue());%0A      %7D%0A      System.out.println();%0A      %0A      // Deposit 1000 into Veer's account%0A      double balance = ((Double)hm.get(%22Veer%22)).doubleValue();%0A      hm.put(%22Veer%22, new Double(balance + 1000));%0A      System.out.println(%22Zara's new balance: %22 + hm.get(%22Veer%22));%0A   %7D%0A%7D%0A

Create HashMap.java