Computer Science, asked by xomos57057, 6 months ago

Create two classes named Mammals and Marine Animals. Create another class named BlueWhale which inherits both the above classes and have only one function named showWhaIe() which shows "I belong to both the categories. Create a function print() in each of Mammals and MarineAnimals classes which prints "I am mammal", "I am a marine animal" respectfully. Now, try to answer the following questions:

Attachments:

Answers

Answered by mintika61
0

Answer:

your answer mate hope it helps you

Attachments:
Similar questions