title: Class extending more than one class Java?
body: <p>I know that a class can implement more than one interface, but is it possible to extend more than one class? For example I want my class to extend both <code>TransformGroup</code> and a class I created. Is this possible in Java? Both statements <code>class X extends TransformGroup extends Y</code> and <code>class X extends TransformGroup, Y</code> receive an error. And if it is not possible, why? <code>TransformGroup</code> extends <code>Group</code> but I guess it also extends <code>Node</code> since it inherits fields from <code>Node</code> and it can be passed where a <code>Node</code> object is required. Also, like all classes in Java, they extend <code>Object</code> class. So why wouldn't it be possible to extend with more than one class?  </p>
  
  <p><a href="http://www.cs.indiana.edu/classes/jett/dgerman/2005/html-javadoc/javax/media/j3d/TransformGroup.html">TransformGroup inheritance</a></p>
  
  <p>So, if that is possible, what is the proper way to do it? And if not, why and how should I solve the problem?</p>