0

As we know every class in java extends object class, so how java does not follow the multiple inheritance

For Ex class A it will implicitly extends the object class, and we have class B which also implicitly extends the object class.

So now when we extend class A with class B then logically it extends Class B and class object which is multiple inheritance

Can any body give the explanation for this.

0 Answers0