Activity Forums Salesforce Discussions Why Future method must be static in Salesforce ?

  • Why Future method must be static in Salesforce ?

  • Kirandeep

    Member
    February 14, 2020 at 9:03 am

    Why Future method must be static in Salesforce ?

  • Anjali

    Member
    February 14, 2020 at 12:55 pm

    As static makes it utility method rather than normal method. And future method need to be accessed from any class and cannot depend on any instance.

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos