Delphi commonality

xiaoxiao2021-03-06  91

There are four basic methods to ensure that all classes exhibit basic behavior. The first behavior is that all classes have a default constructor that can create an instance. The second behavior is that all classes have a destructor that can delete an instance created. The third basic behavior is that all classes can call inherited Free methods and release from memory, the Free method detects calls to NIL objects to avoid errors. The fourth basic behavior is that all classes can respond to Windows messages.

转载请注明原文地址:https://www.9cbs.com/read-123061.html

New Post(0)