Quantcast
Channel: JavaPins - Stories tagged with design pattern
Viewing all articles
Browse latest Browse all 25

Design Pattern – Observer (Part 02)

$
0
0
uaihebertLeave a Comment Hello, how are you? Let us keep talking about the Observer pattern. If you did not read the first post about this pattern, read it before reading the Part 2 about this pattern (Design Pattern – Observer (Part 01) ). How could we loose coupling of our classes? (Questioning of the last post Design Pattern – Observer (Part 01) ) A good way to loose this coupling would be: the class Listener receives a reference to its Notifier class. It is a very simple solution. Our Notifier c...
Pin it

Viewing all articles
Browse latest Browse all 25

Trending Articles