1Using interfaces like this only works on your classes. Since Hashtable does not implement an interface we cannot use this method on hashtable