Question: This is for the java please follow the instructions on given practice problem CIS1068 Lab12: Inheritance and Polymorphism Points: 100 points. Background: In this lab,
CIS1068 Lab12: Inheritance and Polymorphism Points: 100 points. Background: In this lab, we will use the well-known song 'Old MacDonald Had a Fam to leam about Inheri tance and Polymorphism. Old MacDonald hada farm and severaltypes ofanimals. Every animalshared certain characteristics. They each had a type (suchas cow,chick or dog)and each made a sound (moo, cheep or oink. An Interface defines those things requiredto be an animal on the farm. public interface Animal public String getSound 0: public String getType): Notes: Forthose unfamiliar with it, a version ofthe Old MacDonaldsong is found at And its videoat: https-//www.youtube.com/watch?v nEX98pgzb3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
