community.borland.com

Article #15430: CONSTRUCTOR CALLING ANCESTOR'S CONSTRUCTOR

 Technical Notes Database

TN430D.txt   CONSTRUCTOR CALLING ANCESTOR'S CONSTRUCTOR
Category   :Pascal
Platform    :All
Product    :Turbo Pascal  5.5

Description:
Q. Should my current object's constructor call it's ancestor's
   constructors?
A. As a rule of thumb, this is the correct thing to do. It is
   okay to not do it, but it does allow initialization of
   whatever the previous constructors did.


Reference:


7/16/98 4:35:31 PM
 

Last Modified: 01-SEP-99