Vote count:
0
I was Looking for some examples of Hashtables on Stack Overflow, and found this:
Enumeration enumeration = companies.elements();
while (enumeration.hasMoreElements()) {
System.out.println("hashtable values: "+enumeration.nextElement());
}
Why do we use Enumerations and specifically in Hashtables what is its significance?
asked 28 secs ago
What is the use of Enumerations in Hashtables or maps?
Aucun commentaire:
Enregistrer un commentaire