I\'m trying to find the key corresponding to the maximum value in a HashMap. My declaration is as follows:
HashMap coinD= new HashMap<&