Back to Browse

Enums in Java

302 views
Jun 11, 2021
18:26

Enums in Java An enum type is a special data type that enables for a variable to be a set of predefined constants. To create an enum, use the enum keyword (instead of class or interface), and separate the constants with a comma. Note that they should be in uppercase letters.

Download

0 formats

No download links available.

Enums in Java | NatokHD