Skip to content

Instantly share code, notes, and snippets.

@yusufcakal
Created October 12, 2017 08:35
Show Gist options
  • Save yusufcakal/41c6a6ea595a1c86c1fe8ca778927024 to your computer and use it in GitHub Desktop.
Save yusufcakal/41c6a6ea595a1c86c1fe8ca778927024 to your computer and use it in GitHub Desktop.
Medium Post
public class UserMan implements Observer {
private Observable observable;
@Override
public void notify(String message) {
System.out.println(message + " UserMan Mesaj Geldi.");
}
public void removeObserver(){
observable.removeObserver(this);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment