J.P. Morgan interview question

can we override static method

Interview Answers

Anonymous

16 Jul 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

Anonymous

18 Mar 2019

I said no but they want a different answer

1