Computer Science, asked by anuj, 1 year ago

Why we cannot override static method?

Answers

Answered by raaj25
0
) An instance method cannot overridea static method, and a static method cannot hide an instance method. For example, the following program has two compiler errors. 4) In a subclass (or Derived Class), we can overload themethods inherited from the superclass..

I hope it help...
Please mark me brainlist
Similar questions