Answer:
Yes. Any number of classes can implement the same interface.
The Completed Book Class
There is one remaining class in our example, Book, which looks like this:
- Has a parent
Goods. - Adds a variable
author. - Is taxable.
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.
QUESTION 13:
Rid the definitions of those nasty blanks.