Capgemini Interview Question

What is constructor, types of constructor