1
Reply

Can a static method of class overrided. explain whether yes or no.?

Sureder Rawat

Sureder Rawat

18y
4.5k
0
Reply

    No you cannot override a static method. Static method are used when you need to access a method without the need to create an object of the class. So it does not really belong the that class. You cannot override a non-virtual or static method. The overridden base method must be virtual, abstract, or override.

    18y
    0