Assertion checking is like exception handling, but no exception is thrown when an assertion fails. Instead, an AssertionError is thrown.
断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个AssertionError。
Assertion checking is like exception handling, but no exception is thrown when an assertion fails. Instead, an AssertionError is thrown.
断言检查就象异常处理,但是当断言失败时,却不会抛出异常,而会抛出一个AssertionError。
应用推荐