Question: 2) Write a program with a parental class (Animal). Inside it define a name and an age variables, and set_value) function.Then create two child classes(

2) Write a program with a parental class (Animal). Inside it define a name and an age variables, and set_value) function.Then create two child classes( Zebra and Dolphin) which write a message telling the age, the name, and place of birth ('Africa for Zebra and 'Ocean' for Dolphin)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
