Use Jshell Posted on 2020-04-03 In java 原文链接 A REPL is a simple, interactive programming environment that takes user input (Read), executes the user command (Evaluate), returns the result to the user (Print) and waits for the next user input (Loop). REPL var部分的使用 一部分的自动补全 1234567891011jshell> /imports| import java.io.*| import java.math.*| import java.net.*| import java.nio.file.*| import java.util.*| import java.util.concurrent.*| import java.util.function.*| import java.util.prefs.*| import java.util.regex.*| import java.util.stream.* 12345678910111213141516jshell> /vars | String message = "medium" | list $2 = (not-active)..jshell> /methods | double volume(double) | double cube(double)jshell> /types | class Userjshell> /imports | import java.io.* | import java.math.*..