What are the observer and observable classes?
Answer / 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 |
Can java inner class be static?
Why singleton is not thread safe?
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface?
why java is better then .net?
Why inputstreamreader is used in java?
Inorder to specify a container?s layout, which method is used?
why top level class could not be static
What are the different types of inner classes?
How we get some middle records in one table?
What is the relationship between class and object?
what is business delegate?
What is the default value of float and double datatype in java?