Solved

When You Write an Action Listener Class for a JButton

Question 40

Multiple Choice

When you write an action listener class for a JButton component,it must


A) have a method named buttonClicked
B) implement the ActionLIstener interface
C) have a method named actionPerformed which must take an argument of the ActionEvent type
D) Both b and c

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions