Suppose the class named discount sale is a derived class of


Question: Suppose the class named Discount Sale is a derived class of a class called Sale, and suppose the class Sale has a method with the following heading and no other methods named get Tax, as follows:

public double getTax(double rate)

And suppose the definition of the class Discount Sale has a method definition with the following heading and no other method definitions for methods named get Tax, as follows:

public double getTax(double rate)

How many methods named get Tax will the class Discount Sale have and what are their headings.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Suppose the class named discount sale is a derived class of
Reference No:- TGS02404583

Now Priced at $15 (50% Discount)

Recommended (91%)

Rated (4.3/5)