|
Enumeration static methodsEnumerations may also have static methods. The use for static methods on the enumeration itself is primarily for alternative constructors. E.g.:
Static methods may be public, private, or protected, although in practice private and protected are equivalent as inheritance is not allowed. |