Pergunta de entrevista da empresa Revature

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