Science, asked by Anonymous, 14 days ago

what izzz a constructor??​

Answers

Answered by Vivekkumar2269
1

Answer:

In class-based object-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.

Explanation:

#BE MORNING

Answered by Keshsom18X
1

Constructor ia a machine which constructs anything

Similar questions