Computer Science, asked by GAURAVSEMWAL1366, 8 months ago

Which constructor is automatically invoked when the object is

Answers

Answered by priyaban
1

Answer:

Constructor is called automatically when the object is declare. SPECIAL member functn vch has same name as a class name.is automatically intialized ,has no return types not even void. Special type of method that is used to initialize the object

Answered by Haruhi22
1

Answer:

When the object is created and you are passing appropriate parameters for which you already wrote parameterized constructor, then that will be invoked.

If you didn't write any constructor then default construct is invoked.

Hope this helps✌

Similar questions