The code snippet presented below shows how to iterate through a Hashtable using Enumeration.

Java Code:
Enumeration keys = hash.keys();
while( keys.hasMoreElements() ) {
  Object key = keys.nextElement();
  Object value = hash.get(key);
}