What Concept should I use for my Java Project? (UML Class Diagram) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What Concept should I use for my Java Project? (UML Class Diagram)

What Concept should I use when I have a class that I want the info from two parent class. I am using Java, so it cant use multiple inheritance. Class: BookDetail - contain title Member - contain name *Borrow - that I want to use the title and name In Borrow class i want to cek the name from the member to identify he is the member or not, also that the title is aplicable or not.

23rd Jun 2020, 8:17 PM
Kuro Himitsu
Kuro Himitsu - avatar
1 Answer
0
Can't you just use one as a member?
25th Jun 2020, 7:07 AM
Sandra Meyer
Sandra Meyer - avatar