Question d’entretien chez Tech Mahindra

What is constructor and how is different from method