Pergunta de entrevista da empresa Railsware

What is constructor in OOP?