填空题

Write a line of code that declares a variable named layout of type LayoutManager and initializes it with a new object, which when used with a container can lay out components in a rectangular grid of equal-sized rectangles, 3 components wide and 2 components high.()

【参考答案】

layout = new GridLayout(2, 3);"   or: "LayoutManager layout = new
热门 试题