Answer to Question #326433 in Java | JSP | JSF for niko

Question #326433

Develop car rental desktop application for Honda Sdn Bhd. First, create a class named rentalCar that hold value renter's name, IC no, Size of the car rented, daily rental fee, length of rental in days, and total rental fee. The class contains a set and get method that requires all the rental data except the daily rate and total fee, which are calculated based on the size of the car, economy at RM 60 per day, midsize at RM 80 per day, or full size at RM 120 per day. The class also includes a display () method that displays all the rental data.


Write an application named UseCarRental that prompts the user for the data needed for a rental and creates an object of the correct type. Display the total rental fee. Save the file as

rentalCar.java, UseCarRental.java.



0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS