Created
October 12, 2017 08:36
-
-
Save yusufcakal/d5c4236ecf930ddedbdef754c4b86f68 to your computer and use it in GitHub Desktop.
Medium Post
This file contains hidden or 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 UserWoman implements Observer { | |
private Observable observable; | |
public UserWoman() { | |
} | |
public void setObservable(Observable observable) { | |
this.observable = observable; | |
} | |
@Override | |
public void notify(String message) { | |
System.out.println(message + " UserWoman 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