title: How can a class extend two classes in Java?
body: <p>If Java can only extend one class, and every class extends <code>java.lang.Object</code>, how can it extend another class? And how come every class doesn't have written <code>extends Object</code>?</p>