‘tab’ key used to provide Auto Completion Support. Enter any character and press tab key to see all possible completions.
Step 1: Open terminal and execute the command ‘jshell’.
$jshell
| Welcome to JShell -- Version 10.0.2
| For an introduction type: /help intro
jshell>
Step 2: Type the character / and Enter Tab Key to see list of all possible commands available in jshell.
jshell> /
/! /? /drop /edit /env /exit /help /history /imports /list /methods /open /reload
/reset /save /set /types /vars
Step 3: Type ‘System.’ and enter tab key to see all possible completions that starts with System.
jshell> System.
Logger LoggerFinder arraycopy( class clearProperty( console() currentTimeMillis()
err exit( gc() getLogger( getProperties() getProperty( getSecurityManager()
getenv( identityHashCode( in inheritedChannel() lineSeparator() load( loadLibrary(
mapLibraryName( nanoTime() out runFinalization() runFinalizersOnExit( setErr( setIn(
setOut( setProperties( setProperty( setSecurityManager(
This post first appeared on Java Tutorial : Blog To Learn Java Programming, please read the originial post: here