Question: Consider the two calls public class D extends B{public void f (){this.g ();//1} public void g (){this.g();//2}} Which of them is an example of polymorphism?
Consider the two calls public class D extends B{public void f (){this.g ();//1} public void g (){this.g();//2}} Which of them is an example of polymorphism? Why
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
