26 Q What is source and listener ?
Swing AWT Interview Questions
(Continued from previous question...)
26 Q What is source and listener ?
A A source is an object that generates an event. This occurs when the internal state of that object changes in some way. A listener is an object that is notified when an event occurs. It has two major requirements. First, it must have been registered with a source to receive notifications about specific event. Second, it must implement necessary methods to receive and process these notifications.
(Continued on next question...)
Other Interview Questions
|