Constructors, who is right?
Posted on 2004-08-19
In the Delphi 7 help file it states:
"Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data."
In Mastering Delphi 7 by Marco Cantu he says (on pg. 54) under Constructors:
"All of the data of the new instance is set to zero."
My question is, does the alllocated memory get initialized to zero, or not?