define enumerationenumeration is explained as


Define enumeration?

Enumeration is explained as values type that having of a set of named values. These values are constants and are called enumerators. An enumeration type is declared using the enum keyword. Every enumerator in an enumeration is associated with an underlying type that is set, by default, on the enumerator. The following is an example that makes an enumeration to store different varieties of fruits.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: define enumerationenumeration is explained as
Reference No:- TGS0311033

Expected delivery within 24 Hours