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
Can we override the static methods?
What are the advantages of passing this into a method instead of the current class object itself?
How to declare an arraylist in java?
What is package private scope in java?
How to implement a multithreaded applet?
What is the use of set in java?
How to create com object in Java?
What is the largest long allowed by java?
What is tree node in java?
What happens to a static var that is defined within a method of a class?
What are the core java topics?
What is compareto () in java?
Can we use static class instead of singleton?
Is there any difference between synchronized methods and synchronized statements?
Can we have return statement in finally clause? What will happen?