import java.util.Hashtable;
public class HashTableReplaceElement {
public static void main(String[] args) {
Hashtable<Integer, String> ht = new Hashtable<>();
ht.put(31, "Vidya");
ht.put(12, "Sambhavna");
ht.put(33, "Tina");
ht.put(45, "Gravit");
ht.put(51, "Anmol");
ht.put(16, "Veer");
//replacing element
ht.put(51, "Shakira");
System.out.println("Mapping of ht is : ");
System.out.println(ht);
}
}