Answer Posted / guest
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 tcp ip in java?
What happens when a thread cannot acquire a lock on an object in java programming?
What is use of inner class in java?
What is immutable data?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
Explain wrapper classes in java?
In which language java is written?
What is ‘is-a ‘ relationship in java?
What is meant by main method?
How many types of threads are there in java?
Why java is considered dynamic?
What is meant by data hiding in java?
What are the two environment variables that must be set in order to run any java programs?
How does regex work?
What is an accessor?