Basanthi,
Thanks for the reply....Just to make sure I understood what you wrote, let me write something.
Because we are trying to instantiate a child object with a base class reference variable, the base class constructor comes into picture. If we are going to instantiate a Child object with a child class reference variable , then the compiler doesnt complain.
Thanks in advance for your reply
Sri