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
Q62: BorderLayout implements interface _.
A) ActionListener
B) FlowLayout.
C) Layout
D)
Q63: FlowLayout is _.
A) an abstract class
B) a
Q64: Using layout managers _.
A) provides the greatest
Q65: Class JTextArea's getSelectedText method _.
A) returns the
Q66: The Shift key is a(n)_- key.
A) modifier
B)
Q68: A JTextArea _.
A) provides a bounding box
Q69: Which of the following is not a
Q70: Each container can have _.
A) only one
Q71: By default JScrollPane _.
A) always displays scrollbars
B)
Q72: The class GridLayout constructs to hold components.
A)
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