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.

Which Synonym Should You Choose?

arrow down
Word Description / Examples
overriding

Refers to an act of rejecting or annulling a decision by someone in authority.

  • The committee's decision was overridden by the board.
  • His veto was overridden by a two-thirds majority in the legislature.
replace

Use when you are taking out something old or broken and putting something new in its place.

  • We need to replace the old batteries.
  • She was hired to replace the outgoing manager.
substitute

Use when you are putting a person or thing in place of another temporarily or in a specific context.

  • You can substitute honey for sugar in this recipe.
  • A substitute teacher will take over the class while the regular teacher is away.
supersede

Use when referring to something that takes the place of something old or outdated, often implying improvement.

  • This new law supersedes all previous regulations.
  • Digital communication often supersedes traditional letters.

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.

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.