[Tutor] inherince and dependancy
Cameron Stoner
wolf_binary@hotmail.com
Sun, 2 Jun 2002 10:58:07 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C20A24.60D70580
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
I have a few questions listed here:
1.) If your have classes inherit from mulitple other classes doesn't =
that build dependency in your program? =20
2.) Doesn't it also make reusability of code more difficult? =20
3.) If you have multiple inheritance doesn't it make changeability in =
the code easier? You don't have to make changes in multiple places then =
right?
Thanks for your help,
Cameron Stoner
------=_NextPart_000_0009_01C20A24.60D70580
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have a few questions listed =
here:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>1.) If your have classes inherit =
from=20
mulitple other classes doesn't that build dependency in your =
program? =20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>2.) Doesn't it also make =
reusability of code=20
more difficult? </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>3.) If you have multiple =
inheritance doesn't=20
it make changeability in the code easier? You don't have to make =
changes=20
in multiple places then right?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Cameron Stoner</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0009_01C20A24.60D70580--