Late Binding in Java

前端 未结 5 749
不知归路
不知归路 2020-12-16 19:14

I have searched through all the similar questions on late binding on stack overflow, and I would severely disagree with anyone who marks this question as a duplicate. First

5条回答
  •  猫巷女王i
    2020-12-16 19:26

    When you call a method on any object, always remember in inheritance "least modified version" of method will be called. This is nothing but dynamically picking the method version from the hierarchy.

提交回复
热议问题