When does the compiler supply a default constructor for a class

The compiler supplies a default constructor for a class if no other constructors areprovided.

Showing Answers 1 - 1 of 1 Answers

ziaur rahuman

  • Dec 12th, 2005
 

If there is no other constructor i.e, if user didn't defined the constructor default constructor will be created and called up

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions