题目内容

Any method that calls a method with a throws clause in its header must 任何在其头中调用带有抛出子函数的方法都必须

A. handle the potential exception 处理潜在的异常
B. have the same throws clause 有相同的抛出条款
C. Both of the above 以上两项都是
D. do nothing, the called program will take care of the throws clause 什么也不做,被调用的程序将处理子函数抛出的异常

查看答案
更多问题

The process of breaking a problem down into smaller pieces is sometimes called将问题分解成更小的部分的过程有时被称为

A. divide and conquer 分而治之
B. scientific method 科学方法
C. top-down programming 自上而下的编程
D. whole-into-part 从整体到部分

To document the return value of a method, use this in a documentation comment. 要记录方法的返回值,需要在文档注释中使用 。

A. The @param tag
B. The @comment tag
C. The @return tag
D. The @returnValue tag

}

A. a. 18.0
B. 18 (as an integer)
C. 8.0
D. This is an error 错误

A value-returning method must specify this as its return type in the method header. 值返回方法必须在方法头中将其指定为 返回类型。

A. an int
B. a double
C. a boolean
D. any valid data type 任何有效的数据类型

答案查题题库