14. Given the following list of classes, attributes and methods, - identify whic
ID: 3645923 • Letter: 1
Question
14. Given the following list of classes, attributes and methods,- identify which items are classes, which items are attributes and which items aremethods;
- identify which class each attribute and method belongs to; and
- suggest a class hierarch given you list of classes.
*Note - no particulare capitalization scheme is used in the list below to differentiate between classes, methods and attributes.
AdhereToBuilding, NumberOfPetals, Photosynthesize, EmitFragrance, Length, Plant, Height, DaysToGermination, Rose, Grow, LosePetals, ConsumeWater, FloweringSeason, Vine, Color, LeavesPerInch
Explanation / Answer
ClassAdhereToBuildingNumberOfPetals,DaysToGermination method Photosynthesize EmitFragrance, ConsumeWater Attribute Length Plant, Height, Rose, Grow, LosePetals, FloweringSeason, Vine, Color, LeavesPerInch
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.