Java Programming/Keywords/enum

This enumeration constant then can be passed in to methods:

An enumeration may also have parameters:

It is also possible to let an enumeration implement interfaces other than  and , which are already implicitly implemented by each enumeration: