jeudi 17 janvier 2019

Matching generic class diagrams with design patterns

This is an assignment for my university class. I'm having some problems matching the generic class diagrams with the right design pattern.

Any ideas what pattern is the best match for below class diagram, respectively?

Pattern 1: pattern 1 Pattern 2: pattern 2 Pattern 3: pattern 3 Pattern 4: pattern 4 Pattern 5: pattern 5

I'm 99% sure that pattern 2 is not the Observer pattern, but that's as far as I have come. For the rest of them I'm pretty stuck...

I should mention that I have been reading up on design patterns using the following sources:

I have also been watching the video series by Christopher Okhravi on YT.

If someone has an answer I would really appreciate some pointers as to how I should think to be able to match each of the above class diagrams to a design pattern.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire