Using enumsDeclare an enumerated type using the keyword: To get a list of all of the values in the enum,use the enum’s constant. Enumerated types have the following limits: