View Single Post
  #1 (permalink)  
Old 12-12-2007, 05:02 PM
java_fun2007 java_fun2007 is offline
Member
 
Join Date: Nov 2007
Posts: 35
java_fun2007 is on a distinguished road
inheritance and aggregation
hi,
I have a question about this relation

http://img143.imageshack.us/img143/1...problemeq3.png

Class A has aggregation relationship with Class B

Class B has aggregation relationship with Class C

Class B has Inheritance relationship with Class D

Class D has aggregation with Class E

Class C and Class E have almost the same attributes and methods, is that mean that Class E has extended the Inheritance too or should I write the attributes and methods again??

thanks
Reply With Quote
Sponsored Links