Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How many classes are shown? What is the type of the whole part relationship between headlight and automobile? What is the type of relationship between

image text in transcribed

How many classes are shown?

What is the type of the whole part relationship between headlight and automobile?

What is the type of relationship between sedan and automobile?

Name one operation/method that returns a true or false response, make sure you type the name with the correct visibility as indicated in the diagram.

Is the relationship between "headlight" and automobile mandatory? answer either yes or no

Is the below statement correct, type your answer either yes or no.

"An automobile may have one headlight."

Is the below statement correct, type your answer either yes or no.

"In case the automobile object is destroyed in memory the related headlight objects will also be destroyed."

Name an attribute that would be accessed by the operation/ method +getYear()

Is the method +getColour() public or private?

type in either the word private or public

Is the below statement correct, type your answer either yes or no.

"An automobile object may have 4 headlights."

:automobile -make:String -model: String -year:int -colour:Colour :headlight 0..1 2 #startEngine():bool #turnoff():void +getYear():int +getColour:Colour : sedan numDoors getNumDoors()

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions