柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
VBA 中如果没有显式声明或未用符号来定义变量的数据类型,则变量的默认数据类型为
A.Boolean
B.Int
C.String
D.Variant
热度🔥485
参考答案:D
解析:
【解析】在VBA中,没有显式声明(用如 Dim、Private、Public 或 Static等语句)或使用符号来定义的变量,数据类型默认是变体型(Variant)。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
执行下列程序段后,变量 a 和 b 的值分别是 a = 100 : b = 50 If a > b Then a = a - b Else b = b + a End If
以下选项中,不合法的Visual Basic的变量名是( )。
在窗体上画1个命令按钮,并编写如下事件过程:Private Sub Command1_Click() Dim a(3,3) For m=1 To 3 For n=1 To 3 If n=m Or n=4-m Then a(m,n)=m+n Else a(m,n)=0 End If Print a(m,n); Next n Print Next mEnd Sub运行程序,单击命令按钮,窗体上显示的内容为( )。
如果一台Cisco PIX 525防火墙有如下配置:()。 Pix525(config)#nameif ethernet0 P1 security 100 Pix525(config)#nameif ethernet1 P2 security 0 Pix525(config)#nameif ethernet2 P3 security 50 那么常用的端口连接方案是
标签
二级ACCESS
变量
数据
类型
来定义