posted 23 years ago
Hi all!
I have a question about the code snippet below...
Enumeration e = h.keys();
while (e.hasMoreElements())
System.out.println(e.nextElement());
This works perfectly! The loop loops through all the keys in my hashtable.
My question is: where are the implementations of the methods hasMoreElements() and nextElement()? Enumeration is an interface, so the methods are only declared there, not implemented. I can't find those implementations...
/Kaspar