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 / guest

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

Can a final variable be initialized in constructor?

925


Describe the process as to how substring() methodology mechanisms in java.

1044


Can we extend singleton class?

899


What is isa relationship?

963


What about main thread in java?

1060


Write a java program to generate fibonacci series ?

1019


What if constructor is protected in java?

1029


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1106


What is difference between string and stringbuffer?

993


How large is a boolean?

949


Why stringbuffer is faster than string?

992


Can we override protected method in java?

992


What are the features of junit?

995


What do you understand by private, protected and public?

996


Is integer passed by reference in java?

971