Examveda
Examveda

In Java event handling, what is the purpose of the `getSource()` method of the `ActionEvent` class?

A. It returns the object that generated the event

B. It returns the event listener object

C. It returns the event source

D. It returns the event type

Answer: Option A


This Question Belongs to Java Program >> Event Handling In Java

Join The Discussion

Related Questions on Event Handling in Java