Lingua-e
← Glossary

What does "override" mean in programming?

override is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.

Definition

To provide a new implementation of a method that already exists in a parent class. The child class version replaces the parent class version when called on an instance of the child class.

Example

"Override the save method to add validation before writing to the database."

Word forms

FormTypeMeaningExample
overrideverb (infinitive)To replace a method inherited from a parent class with a new implementation"Override the toString method to return a custom string representation."
overriddenpast participleAlready replaced with a new implementation in the child class"The render method is overridden in each subclass."
overridinggerundProviding a new implementation for an inherited method"Overriding the base method lets each subclass behave differently."

Can you put this sentence in the right order?

Tap the words to place them here

Keep building your technical English

You just looked up what this word means. Lingua-e turns vocabulary like this into full practice: fill-in-the-blanks, listening, and real developer conversations.

Practice this for free

Related terms

Was this page helpful?