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

Compare java and python.

983


How can an exception be thrown manually by a programmer?

1003


What are the different data types in java?

1009


Is null a string or object in java?

963


What is the arraylist in java?

1052


How can we create objects if we make the constructor private ?

1006


What is :: operator in java 8?

1021


What are byte codes?

1219


Is a copy constructor?

1054


Describe what happens when an object is created in java ?

1007


What’s the difference between applets and standalone program?

1046


What is * argv?

1233


What is the difference between access specifiers and access modifiers in java? 16

998


Why is java so important?

1121


How do you replace all in word?

1066