Comment Comment by slver In Java it isn't but this is specific to Java (and clones of Java like C#).This is because Java has single-inheritance enforcement for classes.C++ for example has multiple inheritance. So the way you do an interface is you just write an abstract class, then extend it to implement it. parent slver 5 years ago
This is because Java has single-inheritance enforcement for classes.
C++ for example has multiple inheritance. So the way you do an interface is you just write an abstract class, then extend it to implement it.