Introduction to Enums

This lesson will introduce you to enumeration types.

What Are Enums?

Enum is a custom data type that is composed of variants.

Variants are values which are definite.

The key is to enumerate all possible values and select one of the values from the list.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy