题目

[单项选择题]将窗体的KeyPreview属性设置为True,然后编写如下过程:PrivateSubFormKeyDown(KeyCodeAsInteger,ShiftAsInteger)PrintChr(KeyCode)EndSubPrivateSubForm_KeyUp(KeyCodeAsInteger,ShiftAsInteger)PrintChr(KeyCode+2)EndSub程序运行后,如果按“A”键,则输出的结果为
A.AA
B.AB
C.AC
D.AD

提示:未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
答案
查看答案
相关试题
[填空题]有如下代码片段,请填写完整相应的代码。
publicclassJavaProgextendsjava.applet.Applet
publicvoidinit()
//将Applet初始化
publicvoidstart()
【15】;
publicvoidstop()
//停止Applet
publicvoiddestory()
//销毁Applet
[单项选择题]定义一个函数实现交换x和y的值,并将结果正确返回。能够实现此功能的是()。
A.swapa(intx,inty)
inttemp;
temp=x;x=y;y=temp;
B.swapb(int*x,int*y)
inttemp;
temp=x;x=y;y=temp;
C.swapc(int*x,int*y)
inttemp;
temp=*x;*x=*y;*y=temp;
D.swapd(int*x,int*y)
int*temp;
temp=x;x=y;y=temp;
[填空题]数据管理技术发展过程经过人工管理、文件系统和数据库系统3个阶段,其中数据独立性最高的阶段是【】。
[单项选择题]只有当一个对象的______和______属性为True,它才能获得焦点。
A.Enabled;Visible
B.Visible;Caption
C.Visible;Name
D.Enabled;Caption
[填空题]开发运行Java程序的一般步骤是:源程序编辑、______和______。
联系我们 会员中心
返回顶部