Why can we not override static method?

DWQA QuestionsCategory: JavaWhy can we not override static method?
Editor Staff asked 9 months ago

Why can we not override static method?

1 Answers
Editor Staff answered 9 months ago

It is because the static method is the part of the class, and it is bound with class whereas instance method is bound with the object, and static gets memory in class area, and instance gets memory in a heap.