Difference between revisions of "Aggregation & Composition"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Created page with "=Overview= Video from 0:00 until 4:28 <youtube>https://www.youtube.com/watch?v=lahWUiYY-qc&index=6&list=PLCiOXwirraUAJPwNTW5gxfJK6Ej18fDP9</youtube> https://www.youtube.com/w...")
 
(Overview)
 
Line 1: Line 1:
 
=Overview=
 
=Overview=
 
Video from 0:00 until 4:28
 
Video from 0:00 until 4:28
 +
 
<youtube>https://www.youtube.com/watch?v=lahWUiYY-qc&index=6&list=PLCiOXwirraUAJPwNTW5gxfJK6Ej18fDP9</youtube>
 
<youtube>https://www.youtube.com/watch?v=lahWUiYY-qc&index=6&list=PLCiOXwirraUAJPwNTW5gxfJK6Ej18fDP9</youtube>
  

Latest revision as of 13:12, 11 June 2018

Overview

Video from 0:00 until 4:28

https://www.youtube.com/watch?v=lahWUiYY-qc&index=6&list=PLCiOXwirraUAJPwNTW5gxfJK6Ej18fDP9 (0:00 - 4:28)

Composition

It is creating an object containing other objects in a way that these objects will cease to exist if the containing object is destroyed.

Aggregation

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