Ask Question
17 May, 02:59

You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the requirements: Auto, Customer, Address, Rental Contract, Mileage, Rental Date, Daily Rate, Total. Which of these should be represented as classes?

+3
Answers (1)
  1. 17 May, 03:53
    0
    Out of all the nouns that apply to the requirements, the following should be represented as classes:

    Auto, Customer, Address, Rental Contract

    Explanation:

    The most important consideration when designing a class is that each class should represent a single concept or object from the problem domain. You should also be able to tell by the name what an object or concept of the class should represent, this is to say each class name should be clear and easy to recognize. Out of all of the nouns that apply to the requirements when designing a software solution for an automobile rental company the following should also be represented as classes: Auto, Customer, Address, Rental Contract. This nouns represent single different concepts that all relate to the type of company the software is being designed for, while the rest of the nouns like rental date, daily rate, total or mileage, can be included under one of the classes, but not used alone as a class itself.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the ...” in 📙 Social Studies if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers