Question: i need a help to draw a uml representation, thx Part I Various public transporation can be described as follows: -A PublicTransportation class with the
i need a help to draw a uml representation, thx
Part I Various public transporation can be described as follows: -A PublicTransportation class with the following: ticket price (double type) and number of stop.s 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 driverfs)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 I: 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
Get step-by-step solutions from verified subject matter experts
