Simulating inheritance with Ada

  • Authors:
  • E. Perez

  • Affiliations:
  • Univ. Polytechnico de Madrid, Madrid, Spain

  • Venue:
  • ACM SIGAda Ada Letters
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

Inheritance is one of the key concepts of the object-oriented paradigm. In this article, we briefly review a very commonly known model of inheritance---Smalltalk 80---and the different steps that are taken in the inheritance process. We then analyze the Ada concept of derived types in order to simulate the inheritance mechanism that has been presented. By means of short Ada examples, it is shown how the derived types can help us with each of the steps defined in the model of inheritance presented.