Why do we use observable in Java?

Observable is used to create subclasses that other parts of the program can observe . When an object of such subclass undergoes a change, observing classes are notified. The update( ) method is called when an observer is notified of a change.

Sizin İçin Seçtik  What are observers in RxJS?

Leave a Reply

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