What is it called where object has its own lifecycle and child object cannot belong to another parent object?
Aggregation
Composition
Encapsulation
Association
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is it called where child object gets killed if parent object is killed?
Solution |
2
Discuss
|
What is it called if an object has its own lifecycle and there is no owner?
SolutionAn Association uses a relationship where all objects have their own lifecycle and no owner. This occurs where many-to-many relationships are available, instead of one-to-one or one-to-many. |
3
Discuss
|
Which of the following is not OOPS concept in Java?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved