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 7 years, 7 months 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.

Popular Salesforce Blogs

Popular Salesforce Videos