architecture - OO: Can an interface implement another interface? -


i know language-specific, possible in oo-languages interfaces implement other interfaces?

in c# can do:

interface yourinterface: idisposable {    /// methods } 

and class wich implements yourinterface shall implement idisposable's method.

of course, valid:

yourinterface implementation = new implementation(); idiposable disposable = implementation; 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

c# - HwndSource win32 integration with Ribbons and KeyTips -