Revature interview question

What's the difference between a getter and a setter?