When ever we are extending our class from another class.
Totally our class extends a parent class and an Object class
But we dont have multiple inheritance.
How it happen?
Thanks & Regards
Areshbabu
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35253
7
posted
0
Totally our class extends a parent class and an Object class
No. All classes extend exactly one other class - either explicitly through an "extends" statement, or -if there is no such statement- implicitly Object is extended. It is not correct to say that both Object and a parent class are extended.