Question: what are getter methods and setter methods in salesforce?
Answer: 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. I hope this set of Salesforce interview questions will help you ace your job interview.