Question OOP-CLS-0058
MediumWhich object relationship is 'a Library has Books, but Books can exist without the Library'?
- A.
Inheritance
- B.
Dependency
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Classes and Objects question
Which object relationship is 'a Library has Books, but Books can exist without the Library'?
Inheritance
Dependency
Sign up free to see the answer and a step-by-step explanation.
Composition
Aggregation