C:\Users\Malvolio>jshell
| Welcome to JShell -- Version 9.0.1
| For an introduction type: /help intro
jshell> assert(false)
jshell>
Run Code Online (Sandbox Code Playgroud)
当断言失败时,如何让Java Shell抛出AssertionError?
| 归档时间: |
|
| 查看次数: |
262 次 |
| 最近记录: |