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
Q35: If button1 is a JButton object, which
Q36: When a component is added to a
Q37: You use the _ key word in
Q38: Which of the following statements creates a
Q39: When an application uses many components, rather
Q41: The System.exit method will end the application.
Q42: Some of the common GUI components are
Q43: The following statement adds the FlowLayout manager
Q44: You would use this command at the
Q45: The FlowLayout manager does not allow the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents