asked 110k views
3 votes
A set of named constants that start with the value 0 for the first constant and increment by 1 for each subsequent constant can be declared as a(n) ________.

1 Answer

2 votes

Answer:

Enum

Explanation:

A set of named constants that start with the value 0 for the first constant and increment by 1 for each subsequent constant can be declared as a(n) enum.

Enums are lists of constants. Enums are used to represent predefined list of values that do not represent any kind of numerical or textual data.

answered
User Ruel
by
8.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.