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

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
主站蜘蛛池模板: 凤凰县| 彰武县| 大厂| 临汾市| 新化县| 金寨县| 邹平县| 新巴尔虎左旗| 朝阳县| 积石山| 仲巴县| 苍溪县| 乐清市| 大同县| 大足县| 龙南县| 双江| 新泰市| 会东县| 河南省| 沿河| 宜川县| 隆化县| 子长县| 商城县| 商南县| 邹城市| 赫章县| 嘉黎县| 安吉县| 大埔县| 图们市| 通化市| 界首市| 广水市| 思茅市| 武川县| 宕昌县| 甘洛县| 高清| 颍上县|