Abstract Window Toolkit (AWT) Question:
Download Job Interview Questions and Answers PDF
What is source and listener?
Answer:
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.
Download AWT Interview Questions And Answers
PDF
Previous Question | Next Question |
What is java applet? | What is the difference between choice and list? |