Answer Posted / nashiinformaticssolutions
Objects that inherit the "Observable class" take care of a list of "observers."
When an Observable object gets upgraded, it calls the update() method of each of its observers.
After that, it notifies all the observers that there is a change of state.
The Observer interface gets implemented by objects that observe Observable objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the final keyword?
What is thread synchronization in java?
What is encapsulation in java?
what is singleton class in java?
What is thread life cycle?
What is difference between classpath and path variables in java?
Discuss 2D arrays.
What are decalarations?
When object is created and destroyed?
What is a class reference?
Explain the init method?
Do you know how to reverse string in java?
What is use of inner class in java?
What is the purpose of an interface?
what is thread in Java ?