Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2008
    Posts
    2
    Rep Power
    0

    Smile aggrigation and inheritance

    what is the difference between aggrigation and inheritance

  2. #2
    Jeremy is offline Member
    Join Date
    Jul 2008
    Posts
    28
    Rep Power
    0

    Default

    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.)

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    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..
    To finish sooner, take your own time....
    Nivedithaaaa

  4. #4
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    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
    To finish sooner, take your own time....
    Nivedithaaaa

  5. #5
    Alan-LB's Avatar
    Alan-LB is offline Member
    Join Date
    Jun 2008
    Location
    Junee, NSW, Australia
    Posts
    19
    Rep Power
    0

    Default

    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
    Last edited by Alan-LB; 07-08-2008 at 07:54 AM.
    There are 10 types of people - those who understand binary and those who don't!!
    Today is the Beta version of Tomorrow!!

  6. #6
    sdileepk is offline Member
    Join Date
    Jul 2008
    Posts
    6
    Rep Power
    0

    Default

    Niveditha, Its a tremendous Job u have did.. i was wondered with the analogy you have gave to differentiate
    Inheritance and Aggregation

  7. #7
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    Sorry about the SMS Abbreviation guys, i will try to take care of it in future... :)
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. inheritance and aggregation
    By java_fun2007 in forum New To Java
    Replies: 3
    Last Post: 12-13-2007, 01:36 PM
  2. Delegation vs inheritance
    By javaplus in forum Advanced Java
    Replies: 1
    Last Post: 12-07-2007, 09:07 PM
  3. Inheritance
    By mew in forum New To Java
    Replies: 1
    Last Post: 12-07-2007, 06:08 PM
  4. help with inheritance in hibernate
    By valery in forum JDBC
    Replies: 1
    Last Post: 08-06-2007, 08:44 PM
  5. Inheritance in GUI
    By Marty in forum SWT / JFace
    Replies: 2
    Last Post: 05-11-2007, 12:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •