Introduction to OOP Chapter 13: Multiple Inheritance: next previous audio real text

Inner Classes

The ability to next classes in C++ and Java provides a mechanism that is nearly equivalent to multiple inheritance, without the semantic problems.
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.
Intro OOP, Chapter 13, Slide 15