Created
March 5, 2018 19:53
-
-
Save chathurangat/a6ddc326432e3d37030481b7d623cfbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ObserverA implements Observer { | |
@Override | |
public void receiveUpdate(Subject subject) | |
{ | |
System.out.println("update received by [" + this.getClass().getSimpleName() + "]"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment