Hello, What should we reply to the question. "Is Multiple Inheritence possible in Java? "
The answer is ovious No. But via interface we achieve this indirectly.
Have the determination of mirror which never fails to reflect in spite of being broken into pieces.<br /> <br />Kiss the hands you cannot bite.<br /> <br />An Optimist is one who starts taking a bath when he accidentally falls into the water.
technically there is definitely no possibility of multiple inheritance in Java, as you said. Also you're right that you can achieve something similar with implementation of multiple interfaces. Other languages are in fact using a kind of multiple inheritance for this purpose. There you don't really inherit in the sense of an is-a relationship but inherit from one or more mixin classes. These mixin classes simply add some part of functionality to your actual class like interfaces do in Java. So from that perspective you could say Java in a way uses its own kind of "multiple inheritance" without exposing the risks of using real multiple inheritance incorrectly in languages like C++.