Answer Posted / supriya
Subclass of Observable class maintain a list of observers.
Whenever an Observable object is updated, it invokes the
update() method of each of its observers to notify the
observers that it has a changed state.
An observer is any object that implements the interface
Observer.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is collection class in java? List down its methods and interfaces.
List implementations of list interface?
Why main method is static in java?
Who developed java?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
What is skeleton and stub?
How do generics work?
Explain the reason behind ending a program with a system.exit(0)?
Explain the protected field modifier?
What is variable in java?
what is meant by HQL?
Why hashmap is used in java?
What is the difference between replace and replace all?
How to restrict a member of a class from inheriting by its sub classes?
Which access specifier can be used with class ?