Accueil / Programmation / Programming Paradigms / Object-Oriented Programming / What is the difference between Association, Aggregation and Composition?

What is the difference between Association, Aggregation and Composition?

Print Friendly, PDF & Email

Xem hình này sẽ hiểu rõ hơn về sự khác nhau giữa 3 cụm từ này trong lập trình hướng đối tượng.

http://www.codeproject.com/KB/architecture/OOP_Concepts_and_manymore/association_aggre_com.gifNói chung, chúng ta có thể kết luận rằng aggregation là một trường hợp đặc biệt của một associationcomposition là một trường hợp đặc biệt của aggregation.

comments

À propos Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.