Simple, no? :-) The only thing you have to keep in mind is that the internal implementation of Enumeration interface doesn’t provide it’s toString() method, so it won’t show its elements, what can be seen when running the example: