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

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
主站蜘蛛池模板: 临海市| 连城县| 巫山县| 汶上县| 若尔盖县| 诸暨市| 含山县| 沁阳市| 齐齐哈尔市| 嘉义县| 崇礼县| 台北市| 达州市| 增城市| 神农架林区| 红安县| 墨玉县| 济阳县| 榆中县| 鸡西市| 宜都市| 花莲县| 巴彦县| 伊川县| 锦屏县| 波密县| 大厂| 东丽区| 绥芬河市| 通山县| 吉水县| 武强县| 河曲县| 岢岚县| 太白县| 囊谦县| 镇原县| 冕宁县| 上林县| 兴仁县| 临澧县|