community.borland.com

Article #15442: OVERRIDE VIRTUAL METHOD CALLING ANCESTOR

 Technical Notes Database

TN442D.txt   OVERRIDE VIRTUAL METHOD CALLING ANCESTOR
Category   :Pascal
Platform    :All
Product    :Turbo Pascal  5.5

Description:
Q. Can I override a virtual method and force a call to the
   ancestor objects method?
A. No. Late binding will always call the current method and it
   defeats the purpose of object oriented programming to go around
   this feature.


Reference:


7/16/98 4:35:32 PM
 

Last Modified: 01-SEP-99