title: How to avoid multiple inheritance?
body: <p>For a project, I have following classes:</p>
  
  <ul>
  <li>SuperClass</li>
  <li>Subclass 1</li>
  <li>Subclass 2</li>
  </ul>
  
  <p>The two subclasses extend the superclass.
  Now, I need a third class with the EXACT behaviour (read, same overriden method implementations) of both SubClass 1 and Subclass 2.
  Because Subclass 1 overrides only 1 method in SuperClass, and Subclass 2 doesn't override that method, I want to make the third class inherit Superclass and just implement it with the methods of Subclass 1 and Subclass 2. Now, is this good OO-design? I see no other solution because multiple inheritance in Java just isn't possible. Are there any alternatives? </p>