Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| |||||
Java - Interview Questions and Answers | |||||
| |||||
Ans. Within instance method of the parent class that has other multiple methods that have been overridden by the derived classes. In such case a simple method call from the common method will always be made to the method definition in the parent class. But If we use this.methodCall , this will be polymorphic and will be made to the respective derived object overriding method. | |||||
![]() | |||||
![]() ![]() ![]() | |||||
![]() | |||||
![]() | |||||
![]() | |||||
![]() | |||||
![]() | |||||
![]() | |||||