Activity › Forums › Salesforce® Discussions › What are Getter and Setter methods in Salesforce?

  • Shweta

    Member
    May 22, 2020 at 2:07 PM

    getter method: This method will return a value to a visualforce page whenever a name variable is called.
    Setter method: This will take the value from the visualforce page and stores to the Apex variable name.

  • [adinserter block='9']
  • Pooja

    Member
    May 22, 2020 at 3:27 PM

    getter method will return a value to a visualforce page whenever a name variable is called.
    Setter method will take the value from the visualforce page and stores to the Apex variable name.

Log In to reply.

Popular Salesforce Blogs

Steps to Connect Pardot to Salesforce

Steps to Connect Pardot to Salesforce

Blog in

Steps to Integrate Salesforce and Pardot: There are some steps to install Pardot in salesforce 1- Click on this link https://login.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8(production) https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8 (sandbox) 2- After…

Popular Salesforce Videos