comp.lang.ada
 help / color / mirror / Atom feed
From: stt@henning.camb.inmet.com (Tucker Taft)
Subject: Re: Example of object oriented Ada95 requested!
Date: 1996/01/08
Date: 1996-01-08T00:00:00+00:00	[thread overview]
Message-ID: <DKv8pA.8Hr.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: slrn4eumdg.4d.cabal@TerpTavern.umd.edu

Arcadio A. Sincero (cabal@TerpTavern.umd.edu) wrote:

: ...
:     Under the section entitled "Hierarchial Libraries", Dr.Herro talks about
: "child packages".  From what I can tell, this seems to be Ada95's idea of
: what inheritance and polymorphism.  Am I right?  ...

Nope.  "Tagged" types, with type extension and class-wide types, are what 
provide inheritance and polymorphism in Ada 95.

Child packages/hierarchical libraries are namespace/visibility
management mechanisms, somewhat analogous to C++ namespaces or
Modula-3 modules.

: ...
: Arcadio Alivio Sincero, Jr. 
: Sophomore, Computer Science Major at the University of Maryland 
: at College Park
: Email: lotu@wam.umd.edu, WWW: <still working on it!>

-Tucker Taft  stt@inmet.com
Intermetrics, Inc.




      parent reply	other threads:[~1996-01-08  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <slrn4eumdg.4d.cabal@TerpTavern.umd.edu>
1996-01-08  0:00 ` Example of object oriented Ada95 requested! John Herro
1996-01-08  0:00   ` Robert Dewar
1996-01-08  0:00 ` Tucker Taft [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox