Methods in an interface are public by default,
but the implementation in a class must explicitly say public.
There is one remaining class in our example, Book, which looks like this:
GoodsauthorHere is the class definition:
public class Book Goods Taxable
{
protected String ;
public Book( String des, double pr, String auth)
{
super( des, pr );
= auth ;
}
public String toString()
{
return super.toString() + "author: " + ;
}
public double
{
return price * ;
}
}
Fill in the blanks.