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 are predefined functions?
How do you sort an array in java?
Explain about instanceof operator in java?
Does every java program need a main?
What is meant by vector class, dictionary class, hash table class, and property class?
Can we able to pass objects as an arguments in java?
What is the static import?
Are maps ordered java?
What is derived datatype?
Define the term string pool?
How can a gui component handle its own events in java programming?
What is final, finally, finalize?
What is difference between next () and nextline () in java?
How will you get the platform dependent values like line separator, path separator, etc., ?
Can we call the run() method instead of start()?