14. Given the following list of classes, attributes and methods, - identify whic
ID: 3645921 • 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