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

Difference between final and effectively final ?

1108


What is default size of arraylist in java?

1157


What are the 4 versions of java?

1168


How do you define a parameter?

1037


Can we create more than one object singleton class?

1039


What are streams in java 8?

1006


Tell me how many ways are there to initialise an integer with a constant.

1110


What is an interface in java?

1053


Explain the use of sublass in a java program?

1025


Is object a data type in java?

1119


Can we use catch statement for checked exceptions?

965


Explain about anonymous inner classes in java?

1087


How to instantiate member inner class?

1084


What does pointer mean?

1064


When do we use synchronized methods in java?

1046