Answer Posted / nimisha
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.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Which is faster string or stringbuilder?
Can we overload the methods by making them static?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
Do loops java?
What is java full form?
What are the advantages of exception handling?
What are the actions that can occur when a thread enters blocked state?
Tell me how many ways are there to initialise an integer with a constant.
How objects of a class are created if no constructor is defined in the class?
What is the difference between static and non-static variables in java programming?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
How do you declare a destructor in java?
What is the use of static methods?
What is port number in java?
What is boolean keyword in java?