官术网_书友最值得收藏!

  • Java 9 with JShell
  • Gastón C. Hillar
  • 139字
  • 2021-07-09 18:46:43

Chapter 1. JShell – A Read-Evaluate-Print-Loop for Java 9

In this chapter, we will start our journey toward object-oriented programming with Java 9. You will learn how to launch and work with a new utility introduced with Java 9 that will allow us to easily run Java 9 code snippets and print their results: JShell. This utility will make it easy for you to learn object-oriented programming. We will do the following:

  • Get ready for our journey toward OOP (Object-Oriented Programming) with Java 9
  • Install the required software on Windows, macOS, or Linux
  • Understand the benefits of working with a REPL (Read-Evaluate-Print-Loop) utility
  • Check default imports and use auto-complete features
  • Run Java 9 code in JShell
  • Evaluate expressions
  • Work with variables, methods, and sources
  • Edit the source code in our favorite external code editor
  • Load source code
主站蜘蛛池模板: 盐源县| 蓬安县| 东平县| 莱阳市| 东丰县| 肃北| 武山县| 名山县| 明溪县| 阿克苏市| 宽甸| 南平市| 全州县| 马边| 渝北区| 苗栗县| 台湾省| 怀安县| 上杭县| 沅江市| 育儿| 罗甸县| 乌拉特中旗| 墨玉县| 沙田区| 福海县| 大同市| 澎湖县| 卢氏县| 上饶市| 民勤县| 镇巴县| 田东县| 团风县| 东阿县| 田林县| 双辽市| 博白县| 佳木斯市| 蒙城县| 洪江市|