Q7
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
AnswerB.
It returns the event listener object
C.
It returns the event source
D.
It returns the event type
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board