Exercise implementing "Deprecating the Observer Pattern" in Java