Code example for Enumeration

Methods: hasMoreElementsnextElement