How are Observer and Observable used

Objects that subclass the Observable class maintain a list of observers. When anObservable object isupdated it invokes the update() method of each of its observers to notify the observersthat it has changedstate. The Observer interface is implemented by objects that observe Observable objects.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions