1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Overriding

By , About.com Guide

Definition: A function in C++ and C# can be marked as virtual. This means that it can be overridden in a derived class so that it has different behaviour. This is called Polymorphism because the overridden function will behave differently from the original function in the base class.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
Overriding is how inheritance is done.
Explore C / C++ / C#
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. O
  6. Overriding - Definition>

©2010 About.com, a part of The New York Times Company.

All rights reserved.