J.P. Morgan Interview Question

can we override static method

Interview Answers

Anonymous

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

Mar 18, 2019

I said no but they want a different answer

1