Revature interview question

What is a Getter and Setter?