observers and observables code example Example: java observable to observer setChanged(); notifyObservers(object_to_send_to_observer);