Http://pg-server.csc.ncsu.edu/mediawiki/index.php/CSC/ECE 517 Fall 2010/ch1 S10 MS: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
rawr
== '''Object Oriented Design''' ==
 
 
''Object-oriented design is a programming paradigm that uses "objects" and their interactions to design computer programs. It is based on several techniques, including encapsulation, modularity, polymorphism, and inheritance.''
 
 
 
 
== Aggregation vs. Association ==
<br>
 
An '''aggregation''' is a set of objects that make up a unit.  Some examples of aggregation include:
 
<br>
 
An '''association''' is two or more objects that work together, but one is not part of another.  Some examples of association include:

Revision as of 23:06, 26 March 2008

Object Oriented Design

Object-oriented design is a programming paradigm that uses "objects" and their interactions to design computer programs. It is based on several techniques, including encapsulation, modularity, polymorphism, and inheritance.



Aggregation vs. Association


An aggregation is a set of objects that make up a unit. Some examples of aggregation include:


An association is two or more objects that work together, but one is not part of another. Some examples of association include: