Q. What is a listener in context to event handling? (Solved)
1. A listener is a variable that is notified when an event occurs.
2. A listener is a object that is notified when an event occurs.
3. A listener is a method that is notified when an event occurs.
4. None of the mentioned
- b. A listener is a object that is notified when an event occurs.