Originally Posted by
Ganeprog
Why multiple inheritance is not supported in java?At the same time why and how multiple inheritance is supported in c++.
Then how the "Interface" concept fulfil the multiple inheritance in java
Something (perhaps not all) is explained in the Java tutorial:
Inheritance (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)
Originally Posted by
Ganeprog
I am not able to use two extends keywords in programs.
The
extends keyword can only be used:
a) In a class to extend 1 other class.
b) In an interface to extend
N other interfaces.
P.S. "extends" is also used for bounds in Generics ... but it's all another story.