Jump to content

Talk:Virtual method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by DabMachine (talk | contribs) at 10:04, 21 February 2006 (disambiguation from Subclass to Subclass (computer science) - (You can help!)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
   overidden by a superclass will be used by the base class 

Hmm superclass tells me that base class and superclass are synonyms so a superclass might not overwrite a method of the base class

    only the superclass will use the overidden method 

Isn't it more like only the derived class will use the overwritten method unless it is virtual, except within the constructor at least in C++ ?

You're right. Fixed by replacing superclass with subclass. -- S.K. 15:25, 24 Nov 2004 (UTC)

yes vote for merge

[edit]

Content should be merged and I'd say virtual methods should redirect to virtual functions.

Meekohi 19:56, 13 July 2005 (UTC)[reply]