Apex is compatible with Java on this. Static methods are not inherited in a strict sense that means no polymorphism.
So, it is better if you access statics through the class and not an instance. It also produces compiler warnings which are definitely very helpful.
You should access statics through the class, not an instance. It also produces compiler warnings.