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: fac41,953e1a6689d791f6 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,953e1a6689d791f6 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,6806d4da9f37ac7c X-Google-Attributes: gid1108a1,public X-Google-Thread: f79bb,953e1a6689d791f6 X-Google-Attributes: gidf79bb,public X-Google-Thread: fdb77,953e1a6689d791f6 X-Google-Attributes: gidfdb77,public From: shang@corp.mot.com (David L. Shang) Subject: Re: Eiffel and Java Date: 1996/11/12 Message-ID: <1996Nov12.145105.17219@schbbs.mot.com>#1/1 X-Deja-AN: 196164649 sender: news@schbbs.mot.com (SCHBBS News Account) references: <1996Nov12.143451.16691@schbbs.mot.com> organization: MOTOROLA reply-to: shang@corp.mot.com newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.sather,comp.lang.java.advocacy,comp.object Date: 1996-11-12T00:00:00+00:00 List-Id: In article <1996Nov12.143451.16691@schbbs.mot.com> shang@corp.mot.com (David L. Shang) writes: > Let A1, A2, A3, ... be the interfaces, and B1, B2, B3 be the > implementations in the sever. In client, if we want a subclass > of A1, A2, A3, ... to reuse the code of B1, B2, B3 without > dependent on B1, B2, B3, we can simply write: > > class C is A1 by B1, A2 by B2, A3 by B3,...; > Note that C is dependent only on A1, A2, A3,..., but not on B1, B2, B3,.... Server can change or replace the implementation without affecting the client applications. Such implementations can be supplied by other clients. The client "C1" can use the implementation provided by the client "C2" without dependent on "C2". This makes dynamic software components much easier. > For detail, refer to: > > Multiple Inheritance -- A Critical Comparion > http://www.sigs.com/publications/docs/oc/9611/oc9611.shang.c.html > > David Shang >