Given the following UML view, how can I get an instance BullDogthat exposes only getter methods?
BullDog
Basically the question arises: what should I do new BullDogon?
new BullDog
HealthyPet Pet , , 3 getter (getMetabolism(), getName() getAge()). , HealthyPet Pet ( , ), . HealthyPet, , 3 getter (, , ).
, HealthyPet Pet. BullDog HealthyPet.