Domanda di colloquio di J.P. Morgan

can we override static method

Risposte di colloquio

Anonimo

16 lug 2019

No we cant override a static method, as they are classified under runtime polymorphism and static methods are not associated with any instance of a class.

1

Anonimo

18 mar 2019

I said no but they want a different answer

1