From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5f29e39fb3307df1 X-Google-Attributes: gid103376,public From: ncohen@watson.ibm.com (Norman H. Cohen) Subject: Re: How to hide methods in child classes? Date: 1996/03/20 Message-ID: <4ipcg8$1fv2@watnews1.watson.ibm.com>#1/1 X-Deja-AN: 143408358 distribution: world references: <4inqqc$l63@mica.inel.gov> organization: IBM T.J. Watson Research Center reply-to: ncohen@watson.ibm.com newsgroups: comp.lang.ada Date: 1996-03-20T00:00:00+00:00 List-Id: 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