Java2 codes,problems ,discussions and solutions are here
Thu Nov 06, 2008 3:51 pm
How are Observer and Observable used?
Thu Nov 06, 2008 3:51 pm
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.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.