Abstract Window Toolkit (AWT) Question:

Download Job Interview Questions and Answers PDF

What is the relationship between an event-listener interface and an event-adapter class?

AWT Interview Question
AWT Interview Question

Answer:

An event-listener interface defines the methods that must be implemented by an event handler for a particular kind of event. An event adapter provides a default implementation of an event-listener interface.

Download AWT Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between the paint() and repaint() methods?What are the restrictions imposed by a Security Manager on Applets?