Enumeration is an interface that allows one to easily sequence through any data structure. The two methods that must be overridden are hasMoreElements() and nextElement().