Abstract Classes
From RemObjects Software
This is a Oxygene Language Feature 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
Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0
Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)
Glossary — Keywords — Language Features — Platform Features — Samples — Articles — How To — Issues
Categories: Text | Oxygene | Language | Feature
