1.

How the relationship is made in Association?(a) Through the objects of classes(b) Through constructor(c) Through destructor(d) Through class Names

Answer» The correct choice is (a) Through the objects of classes

The best explanation: Association relationship between classes is made using the objects of classes like we have a bank object denoting ABC bank and some objects of Employee class XYZ1, XYZ2 and so on. So, in this case, XYZ1 is an employee in ABC bank so there is a relationship between these two objects.


Discussion

No Comment Found

Related InterviewSolutions