Skip to content

Instantly share code, notes, and snippets.

@imankhadiv
Created May 16, 2013 19:48
Show Gist options
  • Select an option

  • Save imankhadiv/5594517 to your computer and use it in GitHub Desktop.

Select an option

Save imankhadiv/5594517 to your computer and use it in GitHub Desktop.
public class TestDrive {
public static void main(String[] args) {
RandomGenerator r = new RandomGenerator();
MonitorA a = new MonitorA(r);
MonitorB b = new MonitorB(r);
r.numberChanged();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment