CS 3304: Comparative Languages
Object-Oriented Programming
[
Course Documents
] : [
Object-Oriented Programming
]
Previous
Contents
Next
Keyword Index
Ada 95
General Characteristics
OOP was one of the most important extensions to Ada 83
Encapsulation container is a package that defines a tagged type
A tagged type is one in which every object includes a tag to indicate its type (at run-time)
Tagged types can be either private types or records
Inheritance
Subclasses are derived from tagged types
New entities in a subclass are added in a record
All subclasses are subtypes
Single inheritance only, except through generics