Problem:
Question- What happens when a JButton is 'clicked' by the user?
a. An ActionEvent object is created containing details of the event.
b. The JButton object sends an 'actionPerformed' message to all registered listeners, passing along the ActionEvent object in the process.
c. Objects registered as listeners may query the ActionEvent in order to gain information about the event.
d. All of the above.
e. None of the above.
Please select correct answer and also provide explaination.