Pergunta de entrevista da empresa Tech Mahindra

What is constructor and how is different from method