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
Differences between external iteration and internal iteration?
How do you define a method?
What is literal example?
Is java still relevant?
What is the purpose of using break in each case of switch statement?
Can an interface be defined inside a class?
What is return type in java?
What is oops in java?
Define locale.
What is a bubble sort in java?
How will you invoke any external process in java?
What is cr keyboard?
How do you write a good declaration?
Why can't we make a class private in java?
How do you reverse a word in java?