单选题:当Applet程序中的init()方法为下列代码时,运行后用户界面会出现的情况,以下描述正确的是(  )。 public

  • 题目分类:Java
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
当Applet程序中的init()方法为下列代码时,运行后用户界面会出现的情况,以下描述正确的是(  )。
public void init()
{
setlLayout(new BorderLayout());
add(”North”,new TextField(10)):
add(”Center”,new Button(”help”)):
} A.文本框将会出现在Applet的顶上,且有l0个字符的宽度
B.按钮将会出现在Applet的正中间,且尺寸为正好能够包容help的大小
C.文本框将会出现在Applet的顶上,从最左边一直延伸到最右边;按钮将会出现在Applet的正中间,覆盖除文本框外的所有空间
D.按钮与文本框的布局依赖于Applet的尺寸

参考答案:
答案解析:

一间宿舍可住多个学生,则实体宿舍和学生之间的联系是(  )。

一间宿舍可住多个学生,则实体宿舍和学生之间的联系是(  )。A.一对一 B.一对多 C.多对一 D.多对多

查看答案

What is the possible relationship between the.two speakers?

What is the possible relationship between the.two speakers?A.Husband and wife.

查看答案

What does the mall suggest the woman do?

What does the mall suggest the woman do?A.Finish her report. B.Have a short re

查看答案

点击开始播放听力mp3:{MP3:http://wximg.233.com/attached/media/2013080

点击开始播放听力mp3:{MP3:http://wximg.233.com/attached/media/20130805/201308051056948894

查看答案

Look at the picture below and write an essay of about 120 Wo

Look at the picture below and write an essay of about 120 Words, making referenc

查看答案