+ 1

How to declare hashmap?

25th Jul 2016, 11:51 AM
Pooja
2 Respuestas
+ 2
Map<Integer, String> myMap = new HashMap<Integer, String>();
25th Jul 2016, 1:05 PM
Edward
+ 1
HashMap<value1, value2> name= new HashMap<value1, value2>(); value1 : key --> exmaple (int,string,double,..) value2 : value --> example (int,string,double,..)
3rd Sep 2016, 11:59 AM
mohamad.khalili