What is an enum in Java?
Itâ€™s a structure used to store different data types together.
Thatâ€™s not quite right. Enums in Java are used to define a set of named constants.
Letâ€™s start simpler: How would you declare an enum for the days of the week?