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
How many types of design patterns are there?
What is use of super keyword?
What is polymorphism java example?
How list contains works in java?
Explain the use of sublass in a java program?
What is ph and buffers?
What is arraylist e in java?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
When do I need to use reflection feature in java?
What are anonymous inner classes?
How are variables stored?
Can we access the non-final local variable, inside the local inner class?
What is getkey () in java?
Why is singleton instance static?
Why are there no global variables in java?