Java - Object-Oriented Programming (OOPS) Concept - About OOPs Quiz
# | Quiz |
---|---|
1
Discuss
|
About OOPs
Which of the following is not OOPS concept in Java?
Solution |
2
Discuss
|
About OOPs
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
|
About OOPs
What is it called where child object gets killed if parent object is killed?
Solution |
4
Discuss
|
About OOPs
What is it called where object has its own lifecycle and child object cannot belong to another parent object?
Solution |
# | Quiz |