In this chapter, we examined JShell, Java's REPL command-line tool. We started with introductory information regarding the tool and looked closely at the REPL concept. We spent considerable time reviewing JShell commands and command-line options. Our coverage included practical guides to feedback modes, asset listing, and editing in the shell. We also gained experience working with scripts.
In the next chapter, we will look at Java's default garbage collector. Specifically, we will look at the default garbage collection, depreciated garbage collection combinations, and examine garbage collection logging.