單項選擇題

Which statement is true?()  

A. A flow layout can be used to position a component that should resize horizontally when the  container is resized.
B. A grid layout can be used to position a component tat should maintain a constant size even when  the container is resized.
C. A border layout can be used to position component that should maintain a constant size even when  the container is resized.
D. The grid bag layout can be used to give a grid-like layout which differs from the normal grid in that individual rows and columns can have unique sizes.
E. If two components are placed in the same column of a grid bag layout, and one component resizes horizontally, then the other component must resize horizontally.

微信掃碼免費搜題