What is source and listener?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online AWT Job Interview Questions And Answers