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

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
主站蜘蛛池模板: 阿拉善盟| 綦江县| 汉沽区| 通江县| 高安市| 常德市| 镇远县| 西乌珠穆沁旗| 尖扎县| 包头市| 萝北县| 镇坪县| 榆社县| 昌平区| 金平| 合水县| 沙雅县| 蒲城县| 璧山县| 乐清市| 甘南县| 贺兰县| 施秉县| 贵定县| 南京市| 隆尧县| 浮山县| 延长县| 鸡泽县| 沂南县| 都安| 都昌县| 类乌齐县| 青田县| 台江县| 邢台县| 泉州市| 天峻县| 舟曲县| 沽源县| 海城市|