Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Observer Pattern - ConcreteObserver1
public class ConcreteObserver1 implements Observer {
public void update(String message) {
System.out.println("Observer 1 received message - "+message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment