Since I am new to java. I want to know if multiple ineritance is not supported in java then how a class extends another class alongwith the default superclass Object?
Because although multiple inheritance isn't allowed, one class can inherit from another which can inherit from another - and eventually the class at the top of that chain will inherit from object (it'll do that if you don't specify any specific class for it to inherit from.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With