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
a. fills the next spot in the row, continuing in the first position of the next row if the current row is full
You might also like to view...
A kilobyte is equivalent to
A) Approximately 500 megabytes B) Approximately 1,000 bytes C) Approximately 1 gigabyte D) Approximately 32 bits
Input a month number between 1 and 12 and a 4-digit year, and print number of days in that month. For February (month = 2), check for leap year to display number of days equal to 28 or 29.
What will be an ideal response?