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
Q45: Using layout managers _.<br>A) provides the greatest
Q46: When the user presses Enter in a
Q47: Which of the following is not a
Q48: Which of the following answers does not
Q49: BorderLayout implements interface _.<br>A) ActionListener<br>B) FlowLayout.<br>C) Layout<br>D)
Q51: Method paintComponent is called when:<br>A) a lightweight
Q52: Together, the appearance and the way in
Q53: Forgetting to register an event-handler object for
Q54: Every JComponent has an instance variable called
Q55: FlowLayout is _.<br>A) an abstract class<br>B) a