Computer Science, asked by AditiKothari, 1 year ago

please answer this question of ICSE class-10 computer applications.state any two features of constructor.

Attachments:

Answers

Answered by ritmili25
6
1.) constructors have the same name as that of the class they belong to
2.) constructors are executed when an object is declared.
3.) constructors have neither return value nor void
4.) constructors can have default values and can be overloaded
5.)
Answered by kraghaver
2
it is called in program uhen constuctor is called
it plays a vital role in progamming languages
Similar questions