Wipro interview question

What is a constructor ?

Interview Answer

Anonymous

Feb 17, 2022

A constructor is a method used to initialize the state of an object and it's get invoke at the time of object creation