Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UML MODELLING: Please help me to choose the correct options: Vehicle Bus Truck + number: Int + route: Route * * V* Route Wheel Seat

UML MODELLING:

Please help me to choose the correct options:

image text in transcribedimage text in transcribed

Vehicle Bus Truck + number: Int + route: Route * * V* Route Wheel Seat Points 0 / 10 My submissions 0/5 - Deadline Friday, 4 February 2022, 14:00 To be submitted alone Question 1 10 points The model above describes buses and trucks. Choose which of the following claims are true: O A bus does not necessarily have seats. All vehicles have wheels and seats. O All vehicles have a route. Based on the model, it is possible that the classes Bus and Truck may contain repeated code. The common properties of classes Bus and Truck (wheels and seats) should probably be moved into the superclass. O A vehicle can simultaneously be both a bus and a truck. > item 1..2 + own Mass: Double + give Mass: Double hollow solid + giveMass: Double Points 0/10 My submissions 0/5 - Deadline Friday, 4 February 2022, 14:00 To be submitted alone Question 1 10 points Ylloleva kaavio kuvaa erilaisia esineit. Arvioi annettujen vittmien todenperisyytt tmn luvun ja syksyll oppimasi valossa. Valitse paikkansa pitvt vittmt: The diagram above describes a class Item (i.e. an object, but it has specific meaning in Python). Choose which of the following claims are true based on text above and prerequisite course: An object can either be solid or hollow. O A hollow object should have at least one object inside. O A hollow object might contain itself. A solid object can also contain other objects, as it inherits the trait Object, and hollow objects are also objects. A method calculating the weight of a hollow object overwrites (or implements) a method defined in the superclass

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions