in Technology by
What are getter methods and setter methods in Salesforce?

1 Answer

0 votes
by
Get (getter) method is used to pass values from the controller to the VF page. Whereas, the set (setter) method is used to set the value back to controller variable.

Related questions

0 votes
    What does Rhino do when the getter and setter methods exist? (a) It becomes JavaScript properties (b) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    I'm wondering if it's a good idea to make verifications in getters and setters, or elsewhere in ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
    Can you write setter method for a retain property?...
asked Nov 10, 2020 in Technology by JackTerrance
0 votes
    I have a class which has 2 sets of getter & setters. 1 set is the traditional type. These work ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 30, 2022 in Education by JackTerrance
0 votes
    What are example of a Salesforce API and its usage?...
asked Jun 26, 2021 in Technology by JackTerrance
0 votes
    In which file, exception codes are defined in Salesforce? 1. In the configuration file 2. In the WSDL file 3. In the error file 4. In the spooler...
asked Jun 27, 2021 in Technology by JackTerrance
0 votes
    Salesforce API calls are 1. Some of the calls are asynchronous, rollback on error 2. Service requests and ... responses, synchronous, committed automatically v/s rollback on error...
asked Jun 27, 2021 in Technology by JackTerrance
0 votes
    What are the different types of email templates available in Salesforce?...
asked Jun 26, 2021 in Technology by JackTerrance
0 votes
    What are validation rules in Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What are the different components of the dashboard available in Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What are Governor limits in Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What are the different types of apps we can use in Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What are the features of Salesforce?...
asked Jun 25, 2021 in Technology by JackTerrance
0 votes
    What are the actions in the workflow in SalesForce?...
asked Nov 12, 2020 in Technology by JackTerrance
0 votes
    What are the benefits of using Salesforce CRM?...
asked Nov 12, 2020 in Technology by JackTerrance
...