comp.lang.ada
 help / color / mirror / Atom feed
From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: How to hide methods in child classes?
Date: 1996/03/20
Date: 1996-03-20T00:00:00+00:00	[thread overview]
Message-ID: <4ipcg8$1fv2@watnews1.watson.ibm.com> (raw)
In-Reply-To: 4inqqc$l63@mica.inel.gov

In article <4inqqc$l63@mica.inel.gov>, paul@srv.net (Paul Whittington) writes: 

|> How, in a child class, do I hide (make them private) class methods
|> inherited from the parent class?

This is generally considered to be methodologically unsound.  It should
be possible for an object of the subclass to be usable in all the same
ways as an object of the superclass (and typically in additional ways as
well).  In particular, it should be possible to invoke those methods you
want to hide.

--
Norman H. Cohen    ncohen@watson.ibm.com




  reply	other threads:[~1996-03-20  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-20  0:00 How to hide methods in child classes? Paul Whittington
1996-03-20  0:00 ` Norman H. Cohen [this message]
1996-03-21  0:00 ` John G. Volan
replies disabled

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