Can we override static method in Java

1 Answer

0 votes
No, we cannot override the static method in Java. 

Since dynamic binding is used at runtime for method overriding 
while static methods are bonded via static binding at compile time.

 



answered Nov 9, 2021 by avibootz

Related questions

1 answer 274 views
274 views asked Nov 9, 2021 by avibootz
1 answer 350 views
1 answer 265 views
1 answer 316 views
1 answer 232 views
1 answer 236 views
...