Multiple Choice
When components are added to a container with a GridLayout,the component ________.
A) fills the next spot in the row,continuing in the first position of the next row if the current row is full
B) fills the next spot in the column,continuing in the first position of the next column if the column is full
C) fills in row x,column y if x and y are two integers passed to the Container method add
D) fills in a random empty position in the grid
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Class JTextArea's getSelectedText method _.<br>A) returns the
Q36: The JOptionPane constant used to display an
Q37: The text "Hello there,my friend." is an
Q39: The Shift key is a(n) key.<br>A)modifier<br>B)action<br>C)output<br>D)None of
Q43: Which of the following is stateless?<br>A) JButton.<br>B)
Q51: Method paintComponent is called when:<br>A) a lightweight
Q55: FlowLayout is _.<br>A) an abstract class<br>B) a
Q64: Which component contains menus?<br>A) Menu button.<br>B) Title
Q73: Which of the following statements makes the
Q75: Which of the following statements about heavyweight