Enums in Java
Enums in java actually means grouping same kind of constants as a one unit/package. Constants which are static and final.Enums are added as feature from JDK 1.5 and above. Lets get an clear idea…
Enums in java actually means grouping same kind of constants as a one unit/package. Constants which are static and final.Enums are added as feature from JDK 1.5 and above. Lets get an clear idea…