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...

What is update method and when it is called?

Answer Posted / raghuveer

update(Observable o,Object arg)
This method is called whenever the observed object is
changed. An application calls an Observable object's
notifyObservers method to have all the object's observers
notified of the change.
where:
o - the observable object.
arg - an argument passed to the notifyObservers method

Is This Answer Correct ?    17 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override the static methods?

989


What are the advantages of passing this into a method instead of the current class object itself?

1631


How to declare an arraylist in java?

1017


What is package private scope in java?

891


How to implement a multithreaded applet?

2619


What is the use of set in java?

1075


How to create com object in Java?

1021


What is the largest long allowed by java?

1015


What is tree node in java?

927


What happens to a static var that is defined within a method of a class?

994


What are the core java topics?

997


What is compareto () in java?

921


Can we use static class instead of singleton?

1006


Is there any difference between synchronized methods and synchronized statements?

1058


Can we have return statement in finally clause? What will happen?

924