Pregunta | Respuesta |
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 |
¿Quieres crear tus propias Fichas gratiscon GoConqr? Más información.