Activity Forums Salesforce® Discussions Why future method is static in Salesforce?

  • Marziya

    Member
    May 6, 2020 at 1:30 pm

    The reason why future methods are static and having a void return type is : ... Future method by definition is static so that variables with this method is associated to the class and not the instance and you can access them without instantiating the class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

How to Learn Salesforce Development | Salesforce learning steps for beginners | Trailhead demo

Video in

In this video, we shared the steps to learn salesforce lightning basics, salesforce apex development, CRM in online for free from scratch very quickly. Learn salesforce…