Multiple Choice
Which of the following sets the window width to 100 pixels and the height to 200 pixels?
A) setSize(100, 200) ;
B) setSize(200, 100) ;
C) setDims(100, 200) ;
D) set(200, 100) ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: The class Container is included in the
Q6: Which of the following methods is NOT
Q7: Given the declaration, Integer num; The statement
Q8: In Java, there is one way to
Q9: Which method contains the code that the
Q11: The class JFrame contains the method setSize.
Q12: GUI components are placed in a window
Q13: The method getContentPane of the class JFrame
Q14: The class ActionListener contains only one method,
Q15: In object-oriented design, the nouns found in