Software job search
.net sql interview questions
  The best place for technical interview questions

 
Home.netSql serverAsp.netC#Vb.netAdo.netAjaxMcpd dumpsWord count tool
Question. What is association,aggregation and composition

They are used to define the relationship between the objects
Association – Both the objects are independent of each other. One uses another to perform a task.

For example a computer uses a router to access internet.

Aggregation - Both the objects are independent but one object will be part of another object.
For example a company and an employee. Employee is part of the company. Employee will still exist even if the company is deleted.

Composition – Child object cannot exist without the parent object. A branch cannot exist without a tree.



Previous question Next question
 Rate this answer
     
 26 votes , average 3 out of 5

Back to .net oops interview questions
This question has been viewed 7965 times   

Other questions on .net oops interview questions




More .Net OOPS interview questions
.Net OOPS interview questions

Reader's opinions -

No comments
Loading

 
.net interview questions
Asp.net interview questions
C# interview questions
Vb.net interview questions
Ado.net interview questions
Ajax interview questions
Wcf interview questions
Wpf interview questions
.net threading interview questions
.net remoting and webservices interview questions
.net caching interview questions
.net oops interview questions
Sharepoint interview questions
Jquery interview questions
Silverlight interview questions
Linq interview questions
Wwf interview questions
Java interview questions
Sql server interview questions
Ssis interview questions
Ssrs interview questions
Data warehousing interview questions
Data mining interview questions
Oracle interview questions
Php interview questions
Design patterns interview questions
Uml interview questions
Mcpd dumps
Pmp practice tests

This site is best viewed with Internet Explorer 7.0 or higher, Firefox 2.0 or higher, Chrome at a minimum screen resolution of 1024x768.
A complete solution to interview questions
free matrimonial website      
web hosting plans |  compare vps hosting plans |  Compare dedicated hosting plans |  Compare linux hosting plans |  Compare cloud hosting plans |  Compare windows hosting plans | 
Hosting reviews |  GoDaddy reviews | 
Support Wikipedia