Consider this class hierarchy:
Book extends GoodsBook implements Taxable
As you know, there is a relationship between a subclass and its superclass (is-a).
Q: Is there any "is-a" relationship between Book and Taxable ?
GOOD answers, but you said that "is-a" is also the relationship between Book and Taxable , but "is-a" is the relationship between classes and the interface is not a class!
java interface class-hierarchy
Johanna
source share