Results 1 to 2 of 2
  1. #1
    mindus is offline Member
    Join Date
    Sep 2010
    Posts
    2
    Rep Power
    0

    Default composition Vs Inheritance

    Hi
    Can anybody tell me at what situation we have to go for composition instad of using inheritance.


    Can anybody explain in detail


    Thanks
    mindus

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. association vs composition vs aggreagation
    By waqar100 in forum New To Java
    Replies: 2
    Last Post: 06-10-2010, 10:17 PM
  2. I need some help with composition, i think
    By Nerijus in forum New To Java
    Replies: 2
    Last Post: 03-04-2010, 06:24 PM
  3. Inheritance example
    By kris4u4ever in forum New To Java
    Replies: 3
    Last Post: 03-21-2009, 02:53 PM
  4. inheritance
    By itaipee in forum New To Java
    Replies: 6
    Last Post: 01-20-2009, 08:18 PM
  5. What is the Composition in Java
    By Santoshbk in forum Advanced Java
    Replies: 4
    Last Post: 04-10-2008, 11:04 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
  •