题目内容

switch语句中的条件可以是变量。( )

A. 对
B. 错

查看答案
更多问题

break和continue语句都是用于中止当前整个循环的。

A. 对
B. 错

do…while循环是先执行循环体,后判断条件表达式是否成立;while循环是判断条件表达式,再决定是否执行循环体。

A. 对
B. 错

下面程序段输出的结果是什么class Sample{ static void Swap(refint x, refint y) { int tmp; tmp = x; x = y; y = tmp; } static void Main(string[] args) { int a = 30, b = 40; Swap(refa, refb); Console.WriteLine("{0},{1}", a, b); Console.ReadKey(); }}

Directions: Choose the best answer which has the closest meaning of the underlined word.My mother always contended that it was never too late to send a thank-you note, but, like all gracious gals of her generation, she never tarried more than a few days anyway.

A. retarded
B. delayed
C. lingered
D. remained

答案查题题库