enum
This lesson explains enum, its use and properties.
enum
enum
is the feature that enables defining named constant values.
Effects of magic constants on code quality
Let’s have a look at this code:
Get hands-on with 1200+ tech skills courses.