Overriding (runtime polymorphism through inheritance) and overloading (compile-time polymorphism with same name, different parameters) are concepts that apply specifically to methods in object-oriented programming. They are not applicable to variables or classes.