Difference between revisions of "Aggregation - 2017"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
Line 1: Line 1:
Aggregation is where you delete the main class and all it's subclasses are kept, rather than being deleted along with it.
+
Aggregation is creating an object containing other objects in a way that they will continue to exist even if the containing object is destroyed.
  
 
For example, if college decided disband your Computer Science group you would all still exist as students.
 
For example, if college decided disband your Computer Science group you would all still exist as students.

Revision as of 13:45, 28 May 2017

Aggregation is creating an object containing other objects in a way that they will continue to exist even if the containing object is destroyed.

For example, if college decided disband your Computer Science group you would all still exist as students.