Activity Forums Salesforce® Discussions What in Enum in Apex in Salesforce?

  • kishan

    Member
    March 11, 2021 at 10:48 am

    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 3 years, 8 months ago by  kishan.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos