45,000 Jobs - Get an Interview Call,  Post Your Resume Here
SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




vb / asp.net Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

Asp.net - difference between Association , Aggregation and Inheritance

        

Reply
 
LinkBack Thread Tools Display Modes
Old 25-01-07, 05:42 PM   #1 (permalink)
Junior Member
 
preethisingh's Avatar
 
Join Date: Jul 2006
Posts: 1,391
Thanks: 1
Thanked 28 Times in 25 Posts
Rep Power: 19 preethisingh is a jewel in the rough preethisingh is a jewel in the rough preethisingh is a jewel in the rough
Asp.net - difference between Association , Aggregation and Inheritance

What is difference between Association , Aggregation and Inheritance relationships?

preethisingh is offline Offline   Reply With Quote
Old 26-03-08, 01:54 AM   #2 (permalink)
Junior Member
 
Join Date: Mar 2008
Age: 33
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 suha is on a distinguished road
Re: Asp.net - difference between Association , Aggregation and Inheritance

What is difference between Association , Aggregation and Inheritance relationships?
suha is offline Offline   Reply With Quote
Old 28-01-09, 12:47 PM   #3 (permalink)
Junior Member
 
Join Date: Jan 2009
Age: 24
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 1 dashah_323 is on a distinguished road
Re: Asp.net - difference between Association , Aggregation and Inheritance

In object oriented world objects have relation and
hierarchies in between them. There are
basically three kind of relationship in Object Oriented
world :-

Association :-
This is the simplest relationship between objects. Example
every customer has sales. So
Customer object and sales object have an association
relation between them.

Aggregation:-
This is also called as composition model. Example in order
to make a “Accounts” class it
has use other objects example “Voucher”, “Journal”
and “Cash” objects. So accounts
class is aggregation of these three objects.

Inheritance:-
ierarchy is used to define more specialized classes based
on a preexisting generalized
class. Example we have VEHICLE class and we can inherit
this class make more
specialized class like CAR, which will add new attributes
and use some existing qualities
of the parent class. Its shows more of a parent-child
relationship. This kind of hierarchy
is called inheritance.
dashah_323 is offline Offline   Reply With Quote
The Following User Says Thank You to dashah_323 For This Useful Post:
AjayKumar.Kataram (28-01-09)
Old 28-01-09, 12:48 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2009
Age: 24
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 1 dashah_323 is on a distinguished road
Re: Asp.net - difference between Association , Aggregation and Inheritance

Or
dashah_323 is offline Offline   Reply With Quote
Old 28-01-09, 12:48 PM   #5 (permalink)
Junior Member
 
Join Date: Jan 2009
Age: 24
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 1 dashah_323 is on a distinguished road
Re: Asp.net - difference between Association , Aggregation and Inheritance

go through this one...

CodeProject: Introduction to Object Oriented Programming Concepts (OOP) and More. Free source code and programming help

regards,
Dharmesh A. Shah
dashah_323 is offline Offline   Reply With Quote
The Following User Says Thank You to dashah_323 For This Useful Post:
AjayKumar.Kataram (28-01-09)
Old 28-01-09, 11:01 PM   #6 (permalink)
Senior Member
 
Join Date: Aug 2006
Location: Hyderabad,India
Age: 30
Posts: 8,044
Thanks: 2,105
Thanked 425 Times in 303 Posts
Rep Power: 124 AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute
Re: Asp.net - difference between Association , Aggregation and Inheritance

nice one....
AjayKumar.Kataram is offline Offline   Reply With Quote
Reply

Tags
aggregation , aspnet , association , difference , inheritance


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
J2EE - difference between Inheritance and Aggregation preethisingh Java Interview / Technical Questions 2 08-05-07 03:37 PM


All times are GMT +6.5. The time now is 08:22 PM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0