Tooling

REPLS: jshell JEP 222

$ jshell | Welcome to JShell -- Version 13-ea | For an introduction type: /help intro jshell> "HI" $1 ==> "HI" jshell> var hi = $1.to toCharArray() toLowerCase( toString() toUpperCase( jshell> var hi = $1.toLowerCase() hi ==> "hi" jshell> String twice(String s) { ...> return s + s; ...> } | created method twice(String) jshell> var hihi = twice(hi) hihi ==> "hihi" jshell> /vars | String $1 = "HI"