As per standard book constructor is a special type of function which is used to initialize objects.As constructor is defined as a function and inside class function can have on
Constructors are NOT static functions. When you do Test test =new Test(); a new Test object is created and then the constructor is called on that object (I mean this points to the newly created object).