Search

The Online Encyclopedia and Dictionary

 
     
 

Encyclopedia

Dictionary

Quotes

 

Virtual method


In object oriented programming, a virtual method is a method that when overidden by a subclass will be used by the base class. Normally when a method is overridden only the subclass will use the overidden method, and the base will continue to use the original.

Virtual methods are implemented with a virtual method table.

The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy