+ 4
Can you override a static method?
Give me an explanation why
2 odpowiedzi
+ 3
I don't think so bro
+ 1
No you can't.
Why would you want to do so ?
You can hide a static method in a derived class. It looks like you have overriden it, but actually you have defined a whole new method. It is not good practice.
https://code.sololearn.com/cwtwY5w0EukX/#cs