Multiple Choice
To associate an event listener with a JButton component, you must use the ___ method of the JButton class.
A) addEventListener.
B) addActionListener.
C) addButtonListener.
D) addListener
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q74: Which of the following statements about an
Q75: _ occurs when a single class has
Q76: In Java, _ can be used for
Q77: The _ method should be called whenever
Q78: Which of the following statements about interfaces
Q80: Consider the following code snippet: myImage.add(new Rectangle(10,10,10,10));<br>This
Q81: Which of the following statements about a
Q82: How do you specify what the program
Q83: Which of the following is true regarding
Q84: Which of the following statements will compile