Demo program for java.util.Hashtable Adding items to hashtable There are 3 items in the hashtable Printing the items two diff. ways item3 item2 item1 {3=item3, 2=item2, 1=item1} Printing item with key of 2 2 = item2 Searching for key 10 Hashtable does not contain the key Searching for value item3 Hashtable contains the value Removing item with key of 3 Removed item: item3 There are 2 items in the hashtable now {2=item2, 1=item1}