Pregunta de entrevista de Tech Mahindra

What is constructor and how is different from method