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 |
5 Coding best practices you learned in java?
Does printwriter create a file?
What classes can be used to store arbitrary number of objects ?
Is alive method in java?
What is final int?
What are the differences between throw and throws?
how to handle exceptions in core applications?
Explain about the security aspect of java?
Differentiate between stringbuffer and stringbuilder in java.
What are the OOAD concepts in java explain with examples?
What is the meaning of variable in research?
What is the difference between abstract class and interface?