Multiple Choice
To use the ActionListener interface, as well as other event listener interfaces, you must have the following import statement in your code:
A) import java.swing;
B) import java.awt;
C) import java.awt.*;
D) import java.awt.event.*;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q28: When using the BorderLayout manager, how many
Q29: Because these components rely on the appearance
Q30: This is an action that takes place
Q31: Which of the following statements creates a
Q32: When adding components to a container that
Q34: The following statement adds the FlowLayout manager
Q35: This layout manager arranges components in five
Q36: You must use the statement import java.swing.*;
Q37: To include Swing and AWT components in
Q38: _ is a library of classes that