单选题:What best describes the appearance of an application with the fo
What best describes the appearance of an application with the following code? @[B](2)
```Java
public class FlowAp extends Frame{
public static void main(String argv[]){
FlowAp fa=new FlowAp();
fa.setLayout(new FlowLayout());
fa.add(new Button("One"));
fa.add(new Button("Two"));
fa.add(new Button("Three"));
fa.add(new Button("Four"));
fa.pack();
fa.setVisible(true);
}}
```
A. A window with buttons marked One to Four placed on each edge.
B. A window with buttons marked One to Four placed from the top to bottom.
C. A window with one large button marked Four in the center.
D. A window with buttons marked One to Four occupy a quarter of the window evenly.
A.A window with buttons marked One to Four placed on each edge.
B.A window with buttons marked One to Four placed from the top to bottom.
C.A window with one large button marked Four in the center.
D.A window with buttons marked One to Four occupy a quarter of the window evenly.
答案:B
```Java
public class FlowAp extends Frame{
public static void main(String argv[]){
FlowAp fa=new FlowAp();
fa.setLayout(new FlowLayout());
fa.add(new Button("One"));
fa.add(new Button("Two"));
fa.add(new Button("Three"));
fa.add(new Button("Four"));
fa.pack();
fa.setVisible(true);
}}
```
A. A window with buttons marked One to Four placed on each edge.
B. A window with buttons marked One to Four placed from the top to bottom.
C. A window with one large button marked Four in the center.
D. A window with buttons marked One to Four occupy a quarter of the window evenly.
A.A window with buttons marked One to Four placed on each edge.
B.A window with buttons marked One to Four placed from the top to bottom.
C.A window with one large button marked Four in the center.
D.A window with buttons marked One to Four occupy a quarter of the window evenly.
答案:B