单项选择题
下列哪个选项是创建一个标识有“关闭”按钮的语句
A.TextField b=new TextField(“关闭”);
B.TextArea b= new TextArea(“关闭”);
C.Button b= new Button(“关闭”);
D.Checkbox b= new Checkbox(“关闭”);
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下列常见的系统定义的异常中,哪个是数组越界异常
A.ArrayIndexOutOfBoundsException
B.IOException
C.NullPointerException
D.ArithmeticException
点击查看答案&解析
单项选择题
下列哪个程序段可能导致错误
A.String s="hello";
String t= "good";
String k=s+ t;
B.String s="hello";
String t;
t=s[3]+"one";
C.String s="hello";
String standard=s. toUpperCase
D.String s="hello";
String t =s+ "good"
点击查看答案&解析
相关试题
对话框(Dialog)是 【15】 类的子类。
过滤字节输出流都是 【14】 抽象类的子类。
在线程中普通优先级的线程,其优先级默认值...
在Java程序中,通过类的定义只能实现单重继...
顺序执行下列两个语句的输出结果是 【13...