What Are Enums (Enumerated Types) in Programming, And Why Are They Useful?

Share
Enums, or enumerated types, are a list of constant values with developer-friendly names. They’re used in programming to commonly used to establish a set of predefined values that a variable can take.

Read This Article on CloudSavvy IT ›

Source : What Are Enums (Enumerated Types) in Programming, And Why Are They Useful?