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
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is balanced tree in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Why wait and notify methods are declared in object class?
How do you reverse a string in java?
Is there any tag in htm to upload and download files?
What is a flag and how does it work?
What is ascii format?
Which class is the superclass for every class in java programming?
How will you initialize an Applet?
What is parse method?
How do you sort a list in java?
Explain different types of wrapper classes in java?
How many bits is a string in java?
Can set contain duplicates?