Computer Science, asked by Anonymous, 1 year ago

what is a constructor ?

Answers

Answered by ibb1
4
In class-based object-oriented programming, a constructor is a special type of subroutine called to create an object !
Answered by Anonymous
0

A member function having the same name as its class and that initializes class objects with legal initial values.

Similar questions