Which statement is true about assertion in the Jav...
单选题

Which statement is true about assertion in the Java programming language?()  

发布日期:2020-04-10

A.Assertion expressions should not contain side effects.

B.Assertion expression values can be any primitive type.

C.Assertion should be used for enforcing preconditions on public methods.

D.An AssertionError thrown as a result of a failed assertion should always be handled by the enclosing method.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定