whatsthecodeforthat.com

What's the code for Map Initialization in java?

Map<KeyType, ValueType> m = new HashMap<KeyType, ValueType>();
m.put(key1, val1);
m.put(key2, val2);