Abstract Classes
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
An abstract class is defined as having one or more abstract methods. Such classes cannot be instantiated and are provided as the base for descendant classes. An abstract method does not require an implementation and descendants will provide an override. Note: descendant classes must provide an implementation for all the abstract methods, or they will be abstract themselves.
An alternative to an abstract class is to set the non-implemented methods as empty instead of abstract. This then allows the class to be used itself.
A further alternative is to consider using interfaces instead.
See Also
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To