Inheritance and Interface in Java
Here are some possibilities of how to use and mix inheritances and interfaces in Java.
implements: implements an interface to the class
extends: extends the subclass from the superclass
interface Ione {}
interface Itwo {}
interface Ithree extends Ione {}
interface Ifour extends Ione, Itwo {}
class Cone {}
class Ctwo extends Cone {}
class Cthree implements Ione {}
class Cfour extends Cone implements Ione {}
class Cfive extends Cone implements Ione, Itwo {}