procedure Draw;
.
.
.
end;
TFrameWindow = class(TWindow, IWindow)// TFrameWindow reimplements IWindow
procedure Draw;
.
.
.
end;
Reimplementing an interface hides the inherited implementation of the same interface.
Hence method resolution
clauses in an ancestor class have no effect on the reimplemented interface.
Dostları ilə paylaş: