¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
What are listeners in Java, what are its different types
Need easy understandable meanings of listener and it's types
2 Respuestas
+ 11
Listeners are simply objects that observe another object and run the specified method on a particular change of the object they're listening to.
As you can define your own listeners, it is not possible to provide a full list of what listeners an handle. But the most common use of them might be gui interaction, like handling mouse and keyboard events.
+ 1
thanks Tashi