+ 1
How to declare hashmap?
2 Respuestas
+ 2
Map<Integer, String> myMap = new HashMap<Integer, String>();
+ 1
HashMap<value1, value2> name= new HashMap<value1, value2>();
value1 : key --> exmaple (int,string,double,..)
value2 : value --> example (int,string,double,..)