17
There are many ways to declare a new class type:
TMyClass1 = TObject;TMyClass2 = type TObject;TMyClass3 = class end;TMyClass4 = class(TObject);TMyClass5 = class(TObject) end;
It's my understanding that class 3, 4 and 5 are descendants of TObject, but it's not clear how 1 and 2 differ, and what the differences between 3,4 and 5 are.
Are there any differences?