Introduction to OOP | Chapter 13: Multiple Inheritance: | next | previous | audio | real | text |
class Child extends ParentOne { ... class InnerChild extends ParentTwo { ... // can access both parents } }Within the inner class you can access methods from both parent classes. This idiom is used a lot in Java. Solves many problems that would otherwise be addressed using MI. Not exactly equivalent to MI, but very close.