Question: 3. Draw a Domain Class Diagram representing the following classes, their attributes, and their relationships ( 20 marks): a. Class: Vehicle i. Attributes: weight ii.

 3. Draw a Domain Class Diagram representing the following classes, their

3. Draw a Domain Class Diagram representing the following classes, their attributes, and their relationships ( 20 marks): a. Class: Vehicle i. Attributes: weight ii. Attributes: topspeed b. Class: WheeledVehicle i. Attributes: numberOfWheels c. Class: AquaticVehicle i. Attributes: buoyancy d. Class: Car i. Attributes: footPedal e. Class: Motorcycle i. Attributes: handClutch f. Class: Boat i. Attributes: rudder g. Class: Driver i. Attributes: name h. Class: Passenger i. Attributes: name - All vehicles can have only one driver - All vehicles can have any number of passengers - All vehicles do not necessarily need to have any drivers or passengers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!