0

How can a create a relationship between at objects in Java?

16th Mar 2021, 8:42 AM
Gabriel Díaz
Gabriel Díaz - avatar
4 Antworten
+ 3
For an "is a" relationship, see inheritance. For a "has a" relationship, it means the object has an instance reference to another object. https://www.c-sharpcorner.com/UploadFile/3614a6/is-a-and-has-a-relationship-in-java/#:~:text=In%20Java%2C%20a%20Has-A%20relationship%20simply%20means%20that%20an,a%20tail%20and%20so%20on.
16th Mar 2021, 9:15 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
please specify the target language to be able to get accurate help ;P
16th Mar 2021, 8:45 AM
visph
visph - avatar
+ 1
Thanks a lot!
16th Mar 2021, 9:32 AM
Gabriel Díaz
Gabriel Díaz - avatar
0
In Java
16th Mar 2021, 8:49 AM
Gabriel Díaz
Gabriel Díaz - avatar