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 2: Pattern 3: Pattern 4: 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:
-
The book "Applying UML and Patterns" (ISBN: 0-13-148906-2)
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