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 "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -