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 |
What are different types of multitasking?
Write a program to show whether a graph is a tree or not using adjacency matrix.
How can u increase the heap size in the memory?
Who is the owner of java?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
what is the replacement method of stop() of thread
How to sort list of list in java?
Difference between concurrent hashmap and hashtable and collections
How can we make string upper case or lower case?
What is the use of static keyword in "public static void main()"
10 Answers College School Exams Tests, Infosys, Six Dee Telecom,
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
what are depricated methods in threads and explain the lifecycle methods