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
What is the preferred size of a component in java programming?
How can an exception be thrown manually by a programmer?
In java, what is the difference between method overloading and method overriding?
Which data type is a class in java?
Can we declare the static variables and methods in an abstract class?
Differentiate between stringbuffer and stringbuilder in java.
What is meant by class loader? How many types are there?
What is the final blank variable?
What is this keyword in java?
Explain different states of a thread in java?
What is a priority queue java?
What is constructor and its types?
What's the base class of all exception classes?
How many ways can an argument be passed to a subroutine and explain them?
What is final method?