design a hashmap in java code example
Example: how to create a hashmap in java
HashMap<Integer,String> map=new HashMap<Integer,String>();//key is integer, value is String
HashMap<Integer,String> map=new HashMap<Integer,String>();//key is integer, value is String