Wednesday 22 February 2012

What is a default constructor?

 A zero-argument constructor or a constructor in which all the arguments have default values is called a default Constructor.
For example:
A A1;    // default constructor called.