How Observer and Observable used in Java Programming?
Submitted by: MurtazaObjects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.
Submitted by: Murtaza
Submitted by: Murtaza
Read Online Java Developer Job Interview Questions And Answers
Top Java Developer Questions
☺ | Name primitive Java types? |
☺ | Explain the difference between Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy in Java Programming? |
☺ | Does the garbage collection guarantee that a program will not run out of memory? |
☺ | Described the elements of a GridBagLayout organized in Java Programming? |
☺ | Described heavy weight components mean in Java Programming? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |