| Author: Selva 28 Sep 2008 | Member Level: Silver | Rating:    Points: 6 |
Hi, When no Constructor is provided in your class the Compiler will adds the default constructor.
If any parameterized constructor is present then the compiler wont add the default constructor.
Example class A {
} // Here compiler adds default constructor
class A { public A(int a) {} } // Dont compiler adds default constructor
|