Question: Suppose you are working on an object-oriented module for a Car Dealership Management System. Major Classes are Seller, Dealer, Car, Buyer, and Invoice. Details of
Suppose you are working on an object-oriented module for a Car Dealership Management System. Major Classes are Seller, Dealer, Car, Buyer, and Invoice. Details of the classes can be seen in Table 1. Common details of a Dealer, Seller and Buyer classes can be combined into a super class Person. A person has a name, address, phone number and e-mail address. Note that the system does not store information about individual person, so the Person must be either a Seller, dealer, or a buyer. Explain how this can be achieved using Object Oriented Programming.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
