First page Back Continue Last page Graphics
Inheritance or Composition
If the relationship is of 'is a' type then inheritance
If the relationship is of 'has a' type then composition.
'Slant6 has a Engine' is wrong relationship.
'Slant6 is a Engine' so Inheritance.
'Car is a Engine' wrong relationship.
'Car has a Engine' so Composition
'Car has a AllWeatherRadial' so Composition