Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package usecarrental;
- public class LuxuryCarRental extends CarRental
- {
- public LuxuryCarRental(String carsize, int days)
- {
- super(carsize, days);
- }
- public void computetotal1()
- {
- super.computetotal(days);
- rentalFeeDaily = 79.99;
- totalRentalFee = rentalFeeDaily;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement