Question | Answer |
What is a listener interface? | A listener interface is the bridge between the listener and event source |
What is the role of a listener? | As a listener, my job is to implement the interface, register with the event source and provide the event-handling |
What is the role of an event source? | As an event source, my job is to accept registrations, get events and call the listener's event-handling method |
Want to create your own Flashcards for free with GoConqr? Learn more.