How are Observer and Observable used? Ans. Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interf...
See more
Download the Study24x7 App, so you can connect and collaborate.