1.

What is it called if an object has its own lifecycle and there is no owner?(a) Aggregation(b) Composition(c) Encapsulation(d) AssociationThe question was posed to me by my school principal while I was bunking the class.This key question is from Concepts of OOPs topic in division Java Environment & OOPS Concepts of Java

Answer» RIGHT option is (d) Association

To ELABORATE: It is a RELATIONSHIP where all objects have their own lifecycle and there is no owner. This OCCURS where MANY to many relationships are available, instead of one to one or one to many.


Discussion

No Comment Found

Related InterviewSolutions