题目内容

How many times will the following code print "Welcome to Java"?int count = 0;while (count++ < 10) {System.out.println("Welcome to Java");}

A. 9
B. 0
C. 10
D. 11

查看答案
更多问题

How many times will the following code print "Welcome to Java"?int count = 0;do {System.out.println("Welcome to Java");} while (++count < 10);

A. 10
B. 9
C. 11
D. 0

What is the value in count after the following loop is executed?int count = 0;do {System.out.println("Welcome to Java");} while (count++ < 9);System.out.println(count);

A. 0
B. 8
C. 9
D. 10

The while loop and the do-while loop are equivalent in their expressive power; in other words, you can rewrite a while loop using a do loop, and vice versa.

A. false
B. true

心理学研究法中,比较能用来了解因果关系的是:

A. 叙述研究
B. 实验研究
C. 个案研究法
D. 行动研究法

答案查题题库