Capgemini interview question

What is constructor, types of constructor