Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Observer Interface and Observable Class
How are Observer and Observable used?
✍: FYIcenter
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 interface is implemented by objects that observe Observable objects.
2007-03-03, 5716👍, 0💬
Popular Posts:
If we have the following in a Java code: String s="abc"; String s2="abc"; Then what will be output o...
Can you explain duplex contracts in WCF? In duplex contracts when client initiates an operation the ...
How do you locate the first X in a string txt? A) txt.find('X'); B) txt.locate('X'); C) txt.indexOf(...
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to ...
What Is Posting? Posting is an event that writes Inserts, Updates and Deletes in the forms to the da...