Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help with the UML diagrams please:) Part I Various public transporation can be described as follows: A PublicTransportation class with the following: ticket

image text in transcribedi need help with the UML diagrams please:)

Part I Various public transporation can be described as follows: A PublicTransportation class with the following: ticket price (double type) and number of stops (int type). A CityBus is a PublicTransportation that in addition has the following: an route number (long type), an begin operation year (int type), a line name (String type), and driver(s)name (String type) A Tram is a CityBus that in addition has the following: maximum speed (int type), which indicates the maximum speed that this Citybus could reach. A Metro is a CityBus that in addition it has the following: number of vehicules (int type) and the name of the city (String type), such as Montreal, Toronto, etc A Ferry is a PublicTransportation that in addition has the following: build year (int type) and Ship name (String type). An AirCraft is a PublicTransportation that in addition has the following: class type (enumeration type that can be: Helicopter, Airline, Glider or Balloon), and maintenance type (enumeration type that can be: Weekly, Monthly, or Yearly). Part 1. Draw a UML representation for the above mentioned classes hierarchy. Your representation must also be accurate in terms of UML representation of the different entities and the relation between them. You must use a software to draw your UML diagrams (no hand-writing/drawing is allowed)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

9. What is interaction?

Answered: 1 week ago

Question

2 What supply is and what affects it.

Answered: 1 week ago