Multiple Choice
Based on the following code, which of the following statements sets the frame to a width of 400 and a height of 200:
A) frame.size = (FRAME_WIDTH, FRAME_HEIGHT) ;
B) frame.addSize(FRAME_WIDTH, FRAME_HEIGHT) ;
C) frame.setSize(FRAME_WIDTH, FRAME_HEIGHT) ;
D) frame.setSize(FRAME_HEIGHT, FRAME_WIDTH) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q36: In Java, a(n) _ specifies the kind
Q37: What is the purpose of the assignment
Q38: Assuming the following Java statement:<br>int num =
Q39: Which method could you use to obtain
Q40: Which statement about methods is true?<br>A)A method
Q42: What is a storage location in the
Q43: Assume the class Circle has an accessor
Q44: Which of the following statements about test
Q45: Which of the following declares a variable
Q46: Which of the following terms denotes the