Override a static function

No you cannot override static function. The fact that it’s static prevents it from being overriden, because polymorphism happens in dynamic context that involves searching in v-table during runtime only.