go to previous page   go to home page   go to next page

Answer:

No. The super must come first.


Taxable Interface

Here is Taxable:

The Taxable interface looks like this:

interface Taxable
{
  final double  =  ;
  
  double () ;
}

final means that what follows is a constant, not a variable. Variables are not allowed in interfaces. Recall that final can be omitted since the compiler will automatically make the identifier a constant. The = value part cannot be omitted.

The method (in the fourth line) is public by default.


QUESTION 10:

Fill in the blanks.