I have an interface like this:
interface IService
{
....
}
public class myservice:IService
{
...
}
myservice class Impliment IService interface; if I say that
myservice class Inherit from IService
is it wrong?
if its wrong why for multiple inherit we have this definition:
Multiple inheritance is a feature of some object-oriented computer programming languages in which a class can inherit behaviors and features from more than one superclass.
Languages that support multiple inheritance include: C++, Common Lisp (via CLOS), EuLisp (via The EuLisp Object System TELOS), Curl, Dylan, Eiffel, Logtalk, Object REXX, Scala (via the use of mixin classes), OCaml, Perl, Perl 6, Python, and Tcl (via Incremental Tcl).1
Some object-oriented languages, such as C#, Java, and Ruby implement single inheritance, although protocols, or "interfaces," provide some of the functionality of true multiple inheritance.. multiple inheritance
If interface provide multiple inheritance ...I can say I Inherit from an interface... ...