Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Observer Pattern - ConcreteObserver1
public class ConcreteObserver1 implements Observer {
@Override
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