What is Observable object in java?

An observable object can have one or more observers . An observer may be any object that implements interface Observer. After an observable instance changes, an application calling the Observable ‘s notifyObservers method causes all of its observers to be notified of the change by a call to their update method.

Sizin İçin Seçtik  What is the use of observer design pattern?

Leave a Reply

Your email address will not be published. Required fields are marked *