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
What is garbage collection? What is the process that is responsible for doing that in java?
What are the different data types in java?
What is sortedmap in java?
What is an immutable object?
What is stringbuffer in java?
What is visibility mode?
Write a program in java to create a doubly linked list containing n nodes.
Why can't we override private static methods?
How does hashset work in java?
What is the access scope of protected access specifier?
What is the final keyword denotes?
Can we override static methods in java?
Can we pass a primitive type by reference in java? How
What happens when heap memory is full?
What is a constructor, constructor overloading in java?