在使用 JShell 时,如何退出到 CMD 行?
我已经尝试了 ctrl + x,只是写作停止,但没有喜悦。
You can use the JShell command to exit as:
/exit
Side note: Interestingly, with the use of command abbreviations for input shortcuts:-
/ex
(of course /exi) also, resolves into the same command.
/exi
inorder to exit from jshell you can use the command /exit