what is the difference between aggrigation and inheritance
Printable View
what is the difference between aggrigation and inheritance
Direct your browser to your favorite search engine and start searching!
To get you started, go to Google and type in "java aggrigration". The third to last link seemed to very helpful. Yes, the developerWorks one. (I would of posted it but I need at least 20 posts to post a link.)
Hello Ramakrishna,
A small advice to u, for any problem u r stuck up with go ahead with following steps
1. search in google.
2. Implement in ur own code.
3. If stuck up post it here, u ll definitely get the help..
This is FYI.
Aggregation is NOT inheritance:
1. Inheritance: is-a, is-a-kind-of, subclass-of; OR
2. Aggregation: is-a-part-of; AND
3. Properties of aggregation: transitivity,
antisymmetry
4. Additional property of inheritance:
propagation of attributes and methods
With respect, if you are going to use Google you will need the correct spelling - "java aggregation"
Also SMS is difficult to follow in a forum - u = you; ur = your; u r = you are. Remember that for some people English is not their first language and using SMS abbreviations may be confusing.
Alan
Niveditha, Its a tremendous Job u have did.. i was wondered with the analogy you have gave to differentiate
Inheritance and Aggregation
Sorry about the SMS Abbreviation guys, i will try to take care of it in future... :)