InterviewSolution
| 1. |
Explain About Aggregation? |
|
Answer» Aggregation GIVES a much more detail than association. In aggregation you can name it and it can have same adornments. It may not be INVOLVED with more than two classes. It can have a collection of classes but its classes are not DEPENDENT on the LIFE cycle. It's contents are not DESTROYED even when its classes are destroyed. Aggregation gives a much more detail than association. In aggregation you can name it and it can have same adornments. It may not be involved with more than two classes. It can have a collection of classes but its classes are not dependent on the life cycle. It's contents are not destroyed even when its classes are destroyed. |
|