Activity Forums Salesforce® Discussions What is the purpose of Using ApexController iNstance in Code ? Where it is need?

  • What is the purpose of Using ApexController iNstance in Code ? Where it is need?

    Posted by Suraj on May 5, 2017 at 10:27 AM

    What is the purpose of Using ApexController iNstance in Code ? Where it is need?

    Manpreet replied 9 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Manpreet

    Member
    May 22, 2017 at 10:42 AM

    Hi suraj,

    We make instances in order to access variables of that ApexController in any other controller.Similar to OOPs concepts , making Object of class(here controller) and with the help of that object instance one can call methods or can access variables.

    Thanks.

Log In to reply.