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

What is an off by one error in java?

1002


Can we convert stringbuffer to string?

1055


Is hashmap thread safe?

1061


What is null statement?

1078


What technique is carried out to find out if a particular string is empty?

1069


What is the base class of all classes?

1110


Difference between predicate, supplier and consumer ?

1118


What are different data structures in java?

1088


What is the final variable?

1322


what is anonymous class in java?

1100


Why charat is used in java?

1114


What is 16 bits called?

988


What is difference between module and function?

1270


What data type is true or false?

1102


Can main() method in java can return any data?

1245