posted 13 years ago
For example, car, engine. On line:
Some people think it is aggregation relationship. Because Engine can exists without car.
But some people think it is composition relationship. Because if the car is destroyed, the engine also is destroyed.
what is the right answer?