Answer Posted / supriya
Subclass of Observable class maintain a list of observers.
Whenever an Observable object is updated, it invokes the
update() method of each of its observers to notify the
observers that it has a changed state.
An observer is any object that implements the interface
Observer.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is Java a dying language?
Can you write a java class that could be used both as an applet as well as an application?
Explain enumeration in java?
How do you control extraneous variables?
What is a qualifier in a sentence?
Why do we need autoboxing in java?
If we don’t want some of the fields not to serialize how to do that?
How does list work in java?
What is the function of compareto in java?
Which is bigger float or double?
What is the difference between length and size in java?
How do I type unicode?
Explain illegalmonitorstateexception and when it will be thrown?
You're given a Boolean 2D matrix, can you find the number of islands?
Does java allow overriding static methods ?