Copy0 Program

put(key,value) associates the specified value with the specified key in this map. remove(key) removes the key and associated value if it was present. size() returns the number of items in the set. values() returns a collection of the values contained in this map WordLength2 Program : We use a HashMap instead of a TreeMap (thecomparator will do ... ................
................