窗体上有一个名称为Label1的标签;一个名称为Timer1的计时器,其Enabled和Interval属性分别为True和1000。编写如下程序:运行程序,将在标签中( )。
A、不停地依次显示字符“A”,“B”,“C”,“D”,直至窗体被关闭
B、依次显示字符“A”,“B”,“C”,“D”各一次
C、每隔1秒显示字符“A”一次
D、每隔1秒依次显示26个英文字母中的一个
相关问题推荐
-
Given classes defined in two different files: What is required at line 5 in class SomeApp to use the process method of BitUtils?()
A、 process(bytes);
B、 BitUtils.process(bytes);
C、 app.BitUtils.process(bytes);
D、 util.BitUtils.process(bytes);
E、 import util.BitUtils.*; process(bytes);
F、 SomeApp cannot use the process method in BitUtils.
-
用鼠标或键盘选择“输入方法”对话框“安装”按钮在屏幕上出现()对话框?
A、安装
B、关闭
C、打开
D、移动
-
下列关于派生类和基类的描述中,正确的是( )。
A、派生类成员函数只能访问基类的公有成员
B、派生类成员函数只能访问基类的公有和保护成员
C、派生类成员函数可以访问基类的所有成员
D、派生类对基类的默认继承方式是公有继承
-
Given: 22.StringBuilder sb1 = new StringBuilder("123"); 23.String s1 = "123"; 24.// insert code here 25.System.out.println(sb1 + " " + s1); Which code fragment, inserted at line 24, outputs "123abc 123abc"?()
A、sb1.append(abc); s1.append(abc);
B、sb1.append(abc); s1.concat(abc);
C、sb1.concat(abc); s1.append(abc);
D、sb1.concat(abc); s1.concat(abc);
E、sb1.append(abc); s1 = s1.concat(abc);
-
Click the Exhibit button. Which three statements are true?()
ACompilation fails.
BThe code compiles and the output is 2.
CIf lines 16, 17 and 18 were removed, compilation would fail.
DIf lines 24, 25 and 26 were removed, compilation would fail.
EIf lines 16, 17 and 18 were removed, the code would compile and the output would be 2.
FIf lines 24, 25 and 26 were removed, the code would compile and the output would be 1.