Domanda di colloquio di Tech Mahindra

What is constructor and how is different from method