Previous: 2.2.13.1. Object To the Table of Contents Next: 2.2.13.3. Object Syntax
2.2.13.1. Object Table of Contents 2.2.13.3. Object Syntax

- 2.2.13.2. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.13. OOP Extensions
2.2.13.2. Inheritance


2.2.13.2. Inheritance


One object type can extend another object type by adding or replacing fields and methods. In this case the new object is said to be a descendant object; the older object is said to be an ancestor object. The process of an extension is called its inheritance. The descendant object type may have its own descendants; these are also viewed as the descendants of the original ancestor object. The domain of an object, is the object together with all of its descendants.


Previous: 2.2.13.1. Object To the Table of Contents Next: 2.2.13.3. Object Syntax
2.2.13.1. Object Table of Contents 2.2.13.3. Object Syntax

- 2.2.13.2. -