Question: undefined Question 27 10 points) automobile -nake:String -model:String -year: int -colour: Colour headlight #startEngine(): bool #turnoff):void get Year():int .getColour: Colour : sedan numDoors get NunDoors()
undefined
Question 27 10 points) automobile -nake:String -model:String -year: int -colour: Colour headlight #startEngine(): bool #turnoff):void get Year():int .getColour: Colour : sedan numDoors get NunDoors() 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 A 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
