vendredi 15 juillet 2022

Circular design pattern?

I have a class A and class B. Class A has a parameter which is a list of objects of class B. Class B has a parameter which is an object of instance A.

Would inheritance help me somehow here?

What would be the best design pattern to solve this problem?

Aucun commentaire:

Enregistrer un commentaire