Jasper Reports Developer Question:

How the Observer and Observable used in Java Programming?

Tweet Share WhatsApp

Answer:

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

Download Jasper Reports Developer PDF Read All 57 Jasper Reports Developer Questions
Previous QuestionNext Question
Described about synchronization and why is it important in Java Programming?Do heavy weight components mean in Java Programming?