Jump to content

Talk:Virtual method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
   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

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

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