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, 5278👍, 0💬
Popular Posts:
How can you check to see whether a symbol is defined? You can use the #ifdef and #ifndef preprocesso...
What does a well-written Object Oriented program look like? A well-written object oriented program e...
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y...
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...
How To Enter Boolean Values in SQL Statements? - MySQL FAQs - Introduction to SQL Basics If you want...