Multiple Choice
To include Swing and AWT components in your program, use the following import statements:
A) import java.swing; import java.awt;
B) import java.swing; import javax.awt;
C) import javax.swing; import java.awt;
D) import javax.swing; import javax.awt;
Correct Answer:

Verified
Correct Answer:
Verified
Q32: When adding components to a container that
Q33: To use the ActionListener interface, as well
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.*;
Q38: _ is a library of classes that
Q39: If panel references a JPanel object, which
Q40: This is commonly used to hold and
Q41: Event listeners must:<br>A) implement an interface<br>B) be
Q42: JFC stands for:<br>A) Java Fundamental Classes<br>B) Java