Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
https://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html says: HashMap<K,V> map = new HashMap<>(); map.put (K k, V v); for example: HashMap<String,Integer> score = new HashMap<>(); score.put ("ramjanali", 1000);
30th Dec 2016, 9:44 PM
merkrafter