Results 1 to 2 of 2
  1. #1
    wayenng is offline Member
    Join Date
    Dec 2012
    Rep Power

    Default has-a relationship

    Java Code:
    class E{}
    class P extends E{}
    class B{}
    Class G extends B {private P p;}
    G has-a E, correct?

    Many Thanks!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: has-a relationship

    Closing this duplicate,.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. has-a relationship
    By wayenng in forum New To Java
    Replies: 3
    Last Post: 01-06-2016, 04:38 AM
  2. What is a happens-before relationship?
    By johnmerlino in forum New To Java
    Replies: 1
    Last Post: 06-15-2014, 09:57 AM
  3. relationship between classes
    By talia in forum New To Java
    Replies: 1
    Last Post: 12-10-2011, 04:33 PM
  4. help with mapping and relationship
    By peace76 in forum Enterprise JavaBeans (EJB)
    Replies: 5
    Last Post: 12-07-2010, 08:12 PM

Posting Permissions

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