E2371 ABSTRACT and FINAL cannot be used together (Delphi)

From RAD Studio
Jump to: navigation, search

Go Up to Error and Warning Messages (Delphi) Index

A class cannot be both final and abstract.

Final is a restrictive modifier used to prevent extension of a class (or prevent overrides on methods), while the abstract modifier signals the intention to use a class as a base class.