best answer > Why we can not override static method 2024?- QuesHub | Better Than Quora
  • Why we can not override static method 2024?

    method methods

    Questioner:Isabella Parker 2023-06-09 06:42:31
The most authoritative answer in 2024
  • Lucas Wilson——Works at the International Development Association, Lives in Washington, D.C., USA.

    Static methods cannot be overridden because method overriding only occurs in the context of dynamic (i.e. runtime) lookup of methods. Static methods (by their name) are looked up statically (i.e. at compile-time). Method overriding happens in the type of subtype polymorphism that exists in languages like Java and C++.read more >>
    +119962023-06-15 06:42:31

About “、method、methods”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消