<p>Am 27.10.2013 02:12 schrieb "Xiangrong Fang" <<a href="mailto:xrfang@gmail.com">xrfang@gmail.com</a>>:<br>
> Also, <br>
> <br>
> I don't understand why this does not work:<br>
><br>
> f := TFileStream.Create;<br>
><br>
> I know that TFileStream's Create require a file name parameter, but as TFileStream is inherited from TObject, which has a Create without parameter. This is why I feel that it is possible to HIDE a public constructor from ancestor.</p>
<p>Yes, it's possible to hide a public constructor (or any method for that matter), but it's not possible to decrease the visibility of a constructor (or any method for that.matter).</p>
<p>Regards,<br>
Sven</p>