Friday, 23 August 2013

Why Constructors are not inherited?

Why Constructors are not inherited?

I have been learning constructors in Inheritance using Eclipse Juno.
When I press ctrl+O twice in the childClass, It shows inherited members.
But I happen to see even the Constructor of super class in the inherited
members
But it is said that constructors are not inherited...
Can someone please explain this behaviour?

No comments:

Post a Comment