Overriding: meaning, definitions and examples

⬆️
Add to dictionary

overriding

 

[ ˌoʊvərˈraɪdɪŋ ]

Verb
Context #1 | Verb

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

Word origin

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.

See also: override, ride, rider, riders, riding.

Word Frequency Rank

Ranked #12,443, this word falls into high-advanced vocabulary. It appears less frequently but is valuable for expressing precise meanings in specific contexts.