单项选择题
下面有一段程序代码,如果从键盘上输入"Computer",则在文本框内显示的内容是( )。 Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii> =65 And KeyAscii<=122 Then KeyAscii=42 End If End Sub
A.Picture
B.CurentY
C.CurrentX
D.Stretch
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
单击命令按钮时,下列程序的执行结果为( )。Private Sub Command1_Click()Dim x As Integer,y As Integerx=12:y=32Call Proc(x,y)Print x;yEnd SubPublic Sub Proc(n As Integer,ByVal m As Integer)n=n Mod 10m=m Mod 10End Sub
A. 1 5 9
B. 7 5 3
C. 3 5 7
D. 5 9 1
点击查看答案&解析
单项选择题
下列程序段,在运行时最后输出的内容是( )。a=2c=1AAA:c=c + aIf c<10 ThenPrint cGoTo AAAElsePrint 10以内的奇数显示完毕 End If
A.public abstract int read( )throws IOException
B.public final void writeInt(int v)throws IOException
C.pubfic void close( )throws IOException
D.pubfic int available( )throws IOExcepfion
点击查看答案&解析
相关试题
某二叉树中度为2的结点有18个,则该二叉...
本程序的功能是利用随机数函数模拟投币,方...
下面的程序的作用是利用随机函数产生10个...
下列程序的功能是:当x100时,没有意义...
在窗体上有二个名称为Command1的命令按钮...