Here is the class diagram for the given scenario:
«interface»
Moveable
+move()
Mammal
-numOfLegs : int
+getNumOfLegs() : int
+setNumOfLegs(int numOfLegs) : void
+eat() : void
Lion
+roar() : String
Dog
-age : int
+getAge() : int
+setAge(int age) : void
+woof() : String
1
1..*
Jungle
+area() : double
Checkpoint Answer
45
1) Draw a sequence diagram for the following scenario:
A customer