Science, asked by vineetgupta51, 11 months ago

what is a constructor ?

Answers

Answered by jack404
1
a person or company that builds, designs, or makes something.

"the country's biggest constructor of naval vessels"

2.

COMPUTING

a subroutine designed to create an object in a particular class.

"I want to initialize the default constructor"


Answered by ROCKSTARgirl
5
HOLLA DEAR ^_^

.
.
.
.
. HERE'S YOUR ANSWER ______
.
.
.
.

A constructor is a special method of a class or structure in object-oriented programming that initializes an object of that type. A constructor is an instance method that usually has the same name as the class, and can be used to set the values of the members of an object, either to default or to user-defined values.
 

Similar questions