Which of the following statements creates a class that is extended from the JFrame class?
A) JFrame DerivedClass = new JFrame() ;
B) class JFrame DerivedClass;
C) JFrame(DerivedClass) ;
D) public class DerivedClass extends JFrame{}
Correct Answer:
Verified
Q33: The variable panel references a JPanel object.
Q34: Event listeners must:
A) implement an interface
B) be
Q35: If button1 is a JButton object, which
Q36: When a component is added to a
Q37: You use the _ key word in
Q39: When an application uses many components, rather
Q40: To include Swing and AWT components in
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
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