Java 9 with JShell

Key FeaturesA full account of object-oriented programming in Java 9.Emphasis on fluency in the use of JShellExercises at the end of each chapter.A thorough introduction to contract programming Code re-use via Java genericsHow to use functional programming features to make Java 9 singBook DescriptionThe release of Java 9 has brought many subtle and not-so-subtle changes to the way in which Java programmers approach their code. The most important ones are definitely the availability of a REPL, known as JShell, which will make experiments and prototyping much more straightforward than the old IDE-based project-led approach. Another, more subtle change can be seen in the module system, which will lead to more modularized, maintainable code. The techniques to take full advantage of Java 9 modularity form the main subject of this book.Each chapter will add to the full picture of Java 9 programming starting out with classes and instances and ending with generics and modularity in Java.What you will learnEngage with object-oriented programming in Java 9, starting with code snippets in JShellOptimize your code, applying functional programming featuresDiscover the advantages of modularity.Become very proficient at using JShell itselfLearn the new approach to Java programming, which uses the REPL as a prototyping toolAbout the AuthorGaston C. Hillar is Italian and has been working with computers since he was eight. He began programming with the legendary Texas TI-99/4A and Commodore 64 home computers in the early 80s. He has a bachelor's degree in computer science, in which he graduated with honors, and an MBA, in which he graduated with an outstanding thesis. At present, Gaston is an independent IT consultant and freelance author who is always looking for new adventures around the world. He has been a senior contributing editor at Dr. Dobb's and has written more than a hundred articles on software development topics. Gaston was also a Microsoft MVP in technical computing. He has received the prestigious Intel® Black Belt Software Developer award seven times. He is a guest blogger at Intel® Software Network ( You can reach him at and follow him on Twitter at His blog is He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.

Author: Gaston C. Hillar

Learn more