An enum is an abstract data type with values that each take on exactly one of a finite set of identifiers that you specify. Apex provides built-in enums, such as Logging Level , and you can define your own enum.
All Apex enums, whether user-defined enums or built-in enums, have the following common method that takes no arguments.
Each Enum value has the following methods that take no arguments.
Enum values cannot have user-defined methods added to them.
-
This reply was modified 5 years, 2 months ago by
kishan.