Answers

Question and Answer:

  Home  AWT

⟩ What is source and listener?

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.

 167 views

More Questions for you: