What is the Difference between Agglomeration Aggregation Composition Association in Programming
If you are someone new in computer programming and want to get knowledge about basic and widely using terminologies of programming, this s the right blog for you. Agglomeration, Aggregation, Composition and Association in Programming are the terms that are much confusing for fresh programmers. Now you have no need to worry at all, as I have brought some crystal clear differences between these extensively using programming terms just for you. so don’t waste any time an get information right now.
Agglomeration in Programming
In computer programming, agglomeration means to improve performance by grouping sending and receiving tasks into larger tasks. It not only simplifies the program, but also maintains program’s scalability.
Aggregation in Programming
Aggregation in programming is simply the addition of subclasses as pointer variables. These pointer variables are used to point to external objects of aggregate class and these pointer variables have no relation with addition or destruction of sub objects.
Composition in Programming
By means of composition in programming, we can combine simple or data type objects into complex objects. In object-oriented programming, Composition is the way of making basic data structure of many building blocks like linked list, tagged union, linked list etc.
Association in Programming
Association in object-oriented programming is simply the structural relationship between object’s classes for giving assistance to perform an action between them. It shows the connection of one object to another.
Agglomeration vs Aggregation vs Composition vs Association in Programming
In object-oriented programming, all three terms like Agglomeration, Aggregation and Composition are commonly using. However, Agglomeration is nothing, but simplification of programming and improving the performance by grouping smaller tasks into larger tasks. The difference in aggregation and composition is that, normal member variables are used in composition in contrast to aggregation in which pointer variables are used. Moreover, composition is accountable for creation and destruction of subclasses in contrast to aggregation that is not responsible for all these. In the last, association is just the structural relation between classes of different objects for supporting actions between them.
Related posts
- What is the Difference between Microsoft Office 2003, 2007 and 2010
- What is the Difference between Winrunner, Silkperformer, Loadrunner and Qtp
- What is the Difference between Unix and Linux
- What is the Difference between Workbook, Spreadsheet and Worksheet
- What is the Difference between Mac, Solaris, Unix, Windows and Linux
- What is the Difference between UI Developer, UI Designer and Web Designer
- What is the Difference between Gwt, Swt, Swing and Awt
- What is Difference Between Postgresql vs Mysql
- What is the Difference between Disk Clean up and Disk Defragmenter
- What is the Difference between Ubuntu Kubuntu Xubuntu Lubuntu Mythbuntu Edubuntu