0788: interface a extends b, c { ... }
0789: public class x implements y, z { ... }
0790: public class x extends w implements y, z { ... }
We saw earlier that multiple inheritance is not possible in Java. An interface is Java's way of achieving some of the possibilities of multiple inheritance. It is an idea that is borrowed from the programming language Objective C.