Multiple Inheritance using interface
• An interface is an “ultimate” abstract class;
• no implementations are allowed.
• A class may extend only one other base class, but may
implement multiple interfaces (thus avoiding conflicting
multiple inheritances).
• All methods specified in the interface must be implemented.
• If not, it must be declared “abstract”.
• All interfaces & their implementations are “public”.
• Interfaces can extend other interfaces.