Yes. Any number of classes can implement the same interface.
There is one remaining class in our example, Book
, which looks like this:
Goods
.author
.You might wish to review the diagram that shows the relationships between the classes. Here is the usual blank-ridden class definition:
You might also wish to consult the Taxable interface.
Rid the definitions of those nasty blanks.