0
How can a create a relationship between at objects in Java?
4 Réponses
+ 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.
+ 1
please specify the target language to be able to get accurate help ;P
+ 1
Thanks a lot!
0
In Java