Showing posts with label Enumeration in java. Show all posts
Showing posts with label Enumeration in java. Show all posts

Java Enumeration with example

Enumeration is an interface similar to Iterator where the Object implements the Enumeration interface generates a series of elements, one at a time. There are 2 methods like hasMoreElements() - Checks whether enumeration contains...