what is relation between object and class
Answers
Answer:
Explanation:
The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application. The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application
Answer:
Explanation:
The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application. The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application.
Classes can be related in two ways: An aggregation relation, named Has-a: class C2 is related by Has-a with class C1 when C2 has a field whose type is that of class C1. This relation can be generalized as: C2 has at least one field whose type is that of class C1.