try-with-resource语句中的close()方法只有当异常发生时才会调用。

try-with-resource语句中的close()方法只有当异常发生时才会调用。

A.正确

B.错误

正确答案:错误

猜你喜欢