Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How are Observer and Observable used?

Answer Posted / nimisha

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.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by oops concept in java?

993


What is the collections api?

1054


what are different ways in which a thread can enter the waiting state? : Java thread

966


I don’t want my class to be inherited by any other class. What should I do?

1014


What is the loop in java?

1142


What is a java list?

1115


how to create constants in java?

1081


whatis Home interface and Remoteinterface? with example?

2002


What is java dot?

947


What are the features of java?

1082


What are parsers? Dom vs sax parser.

1054


Can inner class have constructor?

1042


What's the difference between comparison done by equals method and == operator?

969


Explain the difference between extends thread vs implements runnable in java?

1128


Is java an ide?

976