Navigator

A Theme for DokuWiki

User Tools

Site Tools


vocabulary:override_versus_overwrite

Overriding vs. Overwriting

While often used interchangeably in casual conversation, they represent different technical concepts:

  • Overriding:
    Providing a new version of a method in a subclass while the original still exists in the parent class.
  • Overwriting:
    Completely replacing data or code in the same storage location, making the original version inaccessible and lost.
vocabulary/override_versus_overwrite.txt · Last modified: by editor