Question: During requirements engineering the the team identified the objects and class as follows: The software system stores information about two things: cars and owners. A

During requirements engineering the the team identified the objects and class as follows: The software system stores information about two things: cars and owners. A car has attributes for make, model, and year. The owner has attributes for name, address and e-mail. Assume that a car must be owned by one owner and an owner can own many cars, but an owner might not own any cars. The cars maybe classified into three groups each with special attributes: Sedan with attributes : number Doors, trunkSize Minivan, with attributes: numberOfseats, weight, power Sports car, with attributes: transmission Opt, raceStats (hint: Assume the Superclass is concrete) Answer the following questions: 1) What is the nature of relationship between car and owner? A/ 2) How many attributes does a sports car have? A 3) If we add to our model information about 6 owners, 4 cars, 3 sedan cars and 1 minivan how many instances would we be adding to the system? A 4) If a new object (instance) needs to be created and managed through our software and this object represents a "Truck which class template would be the best to instantiate/create the truck object? A/ 5) Is the relationship between car and owner mandatory? Answer yes or no A/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
