Talk:Virtual method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
   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]