Enumerated Type

Definition & Meaning

Last updated 1 month ago

What is Enumerated Type?

What is Enumerated Type?

Enumerated kind is a person-defined Records kind used in Computer Programming to map a hard and fast of names to numeric values. Enumerated statistics kind Variables can simplest have values which might be Formerly declared. In other phrases, they work with a fiNite list of values.

Enumerated statistics types assist Make the Code Greater self-documenting and save you Programmers from writing illogical code on values of enumerators. Enumerated statistics additionally hides needless information from programmers.

What Does Enumerated Type Mean?

Enumerator names usually behave as Constants in Programming Languages, even though they may be Identifiers in maximum approaches. A variable assigned as enumerated kind will have any of the enumerators as cost.

In certain languages, enumerator records types many be Constructed into the language. Many programming languages permit customers to outline new enumerated types and sure programming languages additionally define the ordering that needs to be followed for the participants related to enumerated records types. The enumerators are unique, however positive programming languages do permit the enumerator to be Indexed two times inside the Statement of the type.

Share Enumerated Type article on social networks

Your Score to Enumerated Type article

Score: 5 out of 5 (1 voters)

Be the first to comment on the Enumerated Type

3615- V51

tech-term.com© 2023 All rights reserved