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