Exercise 1

1 Inheritance



Define a class, Bird, that inherits from the class Animal. Give the variables values.



1.1


Show the flattened model:



1.1.1 Simulation of Animal and Bird





2 Question

What value has the variable talks in the class Bird?


2.1

false