Something (perhaps not all) is explained in the Java tutorial: Inheritance (The Java™ Tutorials > Learning the Java Language > Interfaces and Inheritance)


The extends keyword can only be used:...