首页试题详情
难度: 使用次数:138更新时间:2026/03/16
1.
Which of the following is a correct use of the Else clause in an If statement?
A.Else must be used with a Then clause
B.Else can be used with multiple conditions
C.Else is optional and can be omitted
D.Else is only used once in a single If statement
题型:选择题 知识点:第三章 VB语言基础
【答案】
C
【解析】
在If语句中,Else子句是可选的,可以用在If语句的结尾作为条件不满足的默认分支。

查看答案和解析

支付 ¥0.1 即可查看此题答案和详细解析

低至 ¥0.1 起

类题推荐:

未分类