+ 10
Multiple inheritance would be something like this: public class MyClass extends MyAbstractClass, MyOtherClass... Extending different class with the child class. This is not possible in Java, but you can achieve a multiple inheritance like behaviour by combining extends and implements. Also you can implement different interfaces in one class.
10th Oct 2017, 5:59 PM
Tashi N
Tashi N - avatar