import java.util.*;
public class MyClass {
public static void main(String args[]) {
Hashtable<Integer, String> ht = new Hashtable<Integer, String>();
ht.put(4, "java");
ht.put(6, "c");
ht.put(1, "c#");
ht.put(3, "python");
ht.put(2, "c++");
ht.put(5, "c++");
ht.remove(3);
for (Map.Entry m:ht.entrySet()) {
System.out.println(m.getKey() + " " + m.getValue());
}
}
}
/*
run:
6 c
5 c++
4 java
2 c++
1 c#
*/