Uses of Class
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
Uses of SnippetEvent in jdk.jshell
Methods in jdk.jshell that return types with arguments of type SnippetEvent Modifier and Type Method Description
Snippet snippet)(Remove a declaration from the state.
String input)(Evaluate the input String, including definition and/or execution, if applicable.