in reply to Re: inheritance and object creation
in thread inheritance and object creation

No, you can still have classes and attributes, you just don't build a full inheritance tree. Again, inheritance is one of MANY tools, and only in the most basic of OO implementations is inheritance the key to the entire puzzle.
  • Comment on Re: Re: inheritance and object creation

Replies are listed 'Best First'.
Re: inheritance and object creation
by Abigail-II (Bishop) on Feb 24, 2004 at 15:12 UTC
    Well, just four classes with obvious relationships is pretty basic to me. And your solution is to not have any inheritance at all.

    Sure, not having any inheritance at all is a solution to "should we use multiple inheritance". I don't think that gives you any of one of the prime benefits of OO programming (code reuse) though.

    Abigail