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 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
Get step-by-step solutions from verified subject matter experts
