题目内容

暴乱是一种稳定的组织行为。

A. 对
B. 错

查看答案
更多问题

A return statement without any value can be used in _______.

A. a non-void method
B. void method

Does the return statement in the following method cause compile errors? public static void main(String[] args) {int max = 0;if (max != 0)System.out.println(max);elsereturn; }

A. Yes
B. No

You may have a return statement in a void method.

A. true
B. false

A _____ method does not return a value.

A. void
B. non-void

答案查题题库