java hashmap code for add element 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