;)Suppose a method is called with formal parameters of supertype and (1)the actual parameters of subtype; Now the method declaration is (2)overridden and overloaded in the (3)previous same class as well as in the (4)overriding subclass.
:icon_rolleyes:An object reference is used on which the call is performed; Here the reference is of the previous same overridden superclass but it denoets the object of the overriding subclass. :icon_exclaim:Which method will be called
- if only (1) is activated?
- if (1) & (2) are activated?
- if (1) , (2) & (3) are activated?
- if (1) , (2) , (3) & (4) all are activated?