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.*;

D) import java.awt.event.*;

Computer Science & Information Technology

You might also like to view...

Windows 7 uses a(n) ________, which uses icons to represent programs and documents

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following macro security settings is ONLY to be used by developers?

A) Disable all macros without notification B) Disable all macros with notification C) Trust access to the VBA project object model D) Enable all macros

Computer Science & Information Technology