what is a constructor ?
Answers
Answered by
4
In class-based object-oriented programming, a constructor is a special type of subroutine called to create an object !
Answered by
0
A member function having the same name as its class and that initializes class objects with legal initial values.
Similar questions