Activity Forums Salesforce Questions and Answers 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.

Original Post
0 of 0 posts June 2018
Now