Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started