Wipro Interview Question

What is the use of constructor ?