Monday, July 5, 2010

Extending Interfaces

Interfaces can extend other interfaces. A single interface can extend multiple interfaces.


Interface Iface1 extends Iface2, Iface3

{ ………….}

Sub-interfaces cannot define methods declared in the super-interfaces. Class implementing the derived interface must implement all methods.

No comments:

Post a Comment