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 package is math in java?
How do you convert boolean to boolean?
How are this() and super() used with constructors in java programming?
What happens when heap memory is full?
What happens if an exception is not handled in a program?
How the metacharacters are different from the ordinary characters?
What are java methods?
What are the differences between checked exception and unchecked exception?
What is bifunction in java?
what happens when a thread cannot acquire a lock on an object? : Java thread
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
Is string a datatype?
What’s the difference between callable and runnable?
What is the difference between object oriented programming language and object based programming language?
Is java based on c?