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 the methods of object class ?
What happens if main method is not static?
Which are the two subclasses under exception class?
Explain JPA in Java.
Are arrays dynamic in java?
What is mean by UML? what is the use? where we are using?
How does multithreading take place on a computer with a single cpu?
What is the purpose of an interface?
How do you use compareto?
Tell me a few examples of final classes defined in Java API?
Can I learn java without any programming experience?
What is meant by class loader? How many types are there?