+ 4
Can an interface inherit an abstract class?Please explain me with reasons.
.
3 ответов
+ 1
Java interfaces cannot extend classes because classes contain implementation details that cannot be specified within an interface.
0
In Java, by definition: An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed.
https://docs.oracle.com/javase/tutorial/java/IandI/abstract.html
0
no inheritance of abstract clas. is not alowed in interface