Question: Question 9 (1 point) Consider the following method header from a class BigCat which extends the class Mammal: public void roar(int n) Which of the

 Question 9 (1 point) Consider the following method header from a

Question 9 (1 point) Consider the following method header from a class BigCat which extends the class Mammal: public void roar(int n) Which of the following is a correct example of overriding the method above? O Adding the following method in the class BigCat: public void roar() O Adding the following method in the class Bear which extends the class Mammal: public void roar(int n) Adding the following method in the class Lion which extends the class BigCat: public void roar(int n) Adding the following method in class Mammal: public void roar()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!