Question:
(a) Discuss the Java approach to event processing by explaining how event handling works in Java. Use an example to support your answer.
(b) Explain what is a ‘Listener' in Java using an appropriate example?
(c) Discuss the purpose and use of the Java Adapter classes. Provide examples to support your answer.