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 |
How do you ensure that n threads can access n resources without deadlock?
What is nested loop? What is dangling else condition in it?
What is :: operator in java?
Can a constructor call the constructor of parent class?
Why java is secure? Explain.
Can we override data members in java?
What is volatile keyword in java
What are java packages? What's the significance of packages?
What is the base class of all exception classes in java?
primitive data types in Java ?
Give a briefing on the life cycle of a thread.
Can a vector contain heterogenous objects?