Created
November 26, 2013 04:53
-
-
Save goyuninfo/7653661 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
package it.i88.ca.example.se.observer; | |
import java.util.Observable; | |
import java.util.Observer; | |
class MyObserver implements Observer { | |
public void update(Observable o, Object arg) { | |
System.out.println("update: " + arg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment