For the homework on LAB 1023, the first statement says:

"Create a super class called Car.  The Car class has the following
fields and methods.

    * int speed;
    * double regularPrice;
    * String color;
    * double getSalePrice(); "

.... but there is no indication of how the getSalePrice() method is
supposed to modify the price. The instructions for the sub-classes are
specific in the criteria:

    * "double getSalePrice();  // If weight > 2000, 10% discount.
Otherwise, 20% discount."
    * double getSalePrice();  // From the sale price computed from Car
class, subtract the manufacturerDiscount.

Does anyone know what the criteria is for the getSalePrice() method
for the Car class, or do we just return the regularPrice without
performing any calculations?

Thanks

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to