19 喜欢·92 浏览
单选题

以下程序:

PublicSubSwap1(xAsInteger,ByValyAsInteger)

DimtAsInteger

t=x:x=y:y=t

EndSub

PublicSubSwap2(xAsInteger,yAsInteger)

DimtAsInteger

t=x:x=y:y=t

EndSub

PrivateSubCommand1_Click()

DimaAsInteger,bAsInteger

a=10:b=20

Swap1a,b

Print"A1=";a,"B1=";b

a=10:b=20

Swap2a,b

Print"A2=";a,"B2=";b

EndSub

当单击命令按钮后,窗体上输出的结果是( )

A
A1=20B1=10A2=10B2=20
B
A1=10B1=20A2=20B2=10
C
A1=10B1=20A2=10B2=10
D
A1=20B1=20A2=20B2=10

题目答案

D

答案解析

暂无解析
举一反三
单选题

若有以下说明语句:

typeabc

t1asinteger

t2assingle

endtype

dimabc1asabc

则下面表示记录变量ABC1的成员T1正确的是( )

A
ABC1→T1
B
T1
C
T1.ABC1
D
ABC1.T1

题目答案

D

答案解析

暂无解析
单选题

为使文本框只能显示不能输入,即只读,应设置文本框的属性是( )

A
MaxLength设置为0
B
Cancel设置为True
C
Locked设置为True
D
Read设置为True

题目答案

C

答案解析

暂无解析