JUnit automatically catches exceptions. It considers uncaught exceptions to be errors, which means the above example has redundant code in it.
英
美
释义
JUnit可以自动的捕捉异常,把没有截获的异常看作错误,所以,上面的代码有冗余代码。
把海词放在桌面上,查词最方便
触屏版
|
电脑版
©2003 - 2025 海词词典(Dict.cn)
立即下载