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
Political Science,
8 months ago
English,
8 months ago
Computer Science,
8 months ago
Chemistry,
1 year ago
Biology,
1 year ago
Chemistry,
1 year ago