填空题

面向对象的模型中,最基本的概念是对象和 【4】 。

【参考答案】

类
<上一题 目录 下一题>
热门 试题

单项选择题
以上程序段运行的结果是:______. Dim a(-1 To 5) As Boolean Dim flag As Boolean flag = False Dim i As Integer Dim j As Integer Do Until flag = True For i = -1 To 5 j=j+1 if a(i)= False Then a(i)= True Exit For End If If i = 5 Then flag = True End If Next Loop Print j
A.20
B.7
C.35
D.8
单项选择题
在窗体上画一个命令按钮,其名称为Command1,然后编写如下程序: Function Func(ByVal x As Integer, y As Integer) y=x*y If y > 0 Then Func = x Else Func = y End If End Function Private Sub Command1_Click( ) Dim a As Integer, b As Integer a=3 b=4 c=Func(a,B) Print a= ;a Print b= ;b Print c= ;c End Sub 程序运行后,单击命令按钮,其输出结果为: ______。
A.a=3 b=12 c=3
B.a=3 b=4 c=3
C.a=3 b=4 c=12
D.a=13 b=12 c=12
相关试题
  • 在窗体上画一个命令按钮,然后编写如下事件...
  • 假定建立了一个工程,该工程包括两个窗体,...
  • 假定有如下程序代码,程序运行后,把鼠标光...
  • 文件的打开和关闭语句分别是 【10】 和...
  • 在执行KeyPress事件过程时,KeyASCII是所按...