Creating enum Types
a brief introduction to enum types and their syntax
Enums allow you to define constants with semantic names and unique values. Given that the values of symbols are different, they make excellent values for enumerated types.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.