Vote UpVote

Hide the utter "Create" constructor of TObject in Delphi

Yanniel's notes – In Delphi, constructors can be inherited; this doesn’t happen in Java, C# and C++ for example. Furthermore, constructors in Delphi can have multiple and different names; usually they are called Create, but this is just a convention, since you can define a constructor with whatever name you choose.In addition to all this, all classes in Delphi inherit ultimately from TObject, which contains a public parameterless constructor, named Create.Due to the facts above, it‘s easy to understand that all classes in Delphi have a public Create parameterless constructor, that has been inherited from ...
Favorite? Off-Topic? Yanniel @ 2011-08-16 00:45


Visits: 23
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)