Overriding: meaning, definitions and examples
⬆️
overriding
[ ˌoʊvərˈraɪdɪŋ ]
programming
To replace a method in a superclass with a new implementation in a subclass. This allows the subclass to provide a specific implementation of the method, overriding the original implementation in the superclass.
Synonyms
replace, substitute, supersede
Examples of usage
- The child class overrides the method from the parent class.
- In object-oriented programming, overriding is a common practice to customize behavior.
Translations
Translations of the word "overriding" in other languages:
🇵🇹 sobreposição
🇮🇳 अधिकारिता
🇩🇪 Überschreibung
🇮🇩 penggantian
🇺🇦 перевизначення
🇵🇱 nadpisanie
🇯🇵 上書き
🇫🇷 remplacement
🇪🇸 sobrescritura
🇹🇷 aşma
🇰🇷 재정의
🇸🇦 تجاوز
🇨🇿 přepsání
🇸🇰 prepisovanie
🇨🇳 重写
🇸🇮 prepisovanje
🇮🇸 yfirskrift
🇰🇿 қайта жазу
🇬🇪 გადაწერა
🇦🇿 yenidən yazma
🇲🇽 sobrescritura
Etymology
The term 'overriding' originated in the field of computer programming, specifically in the context of object-oriented programming. It refers to the ability of a subclass to provide a specific implementation of a method that is already defined in its superclass, effectively replacing the original implementation. This concept is fundamental in inheritance and polymorphism, allowing for customization and flexibility in software development.