Answered step by step
Verified Expert Solution
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
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 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
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