Activity Forums Salesforce® Discussions UTIL Class in Salesforce?

  • Udit

    Member
    April 27, 2020 at 1:17 pm

    UTIL class stands for utility class. This is a helper class that has reusable methods in it. In trigger, we can call methods that are in Utility classes.
    Alike trigger, util classes can be super helpful in Apex as they contain reusable methods that can be used in any apex class as well.

  • Shweta

    Member
    April 27, 2020 at 1:20 pm

    Utility class contains functions or methods which might be used frequently in a lot of class. You can just write the class and methods, then reference it in other apex classes.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos