© Kishori Sharan 2017

Kishori Sharan, Beginning Java 9 Fundamentals, https://doi.org/10.1007/978-1-4842-2902-6_3

3. Writing Java Programs

Kishori Sharan

(1)Montgomery, Alabama, USA

In this chapter, you will learn:

  • About the structure of a Java program

  • How to organize the source code of a Java program

  • How to write, compile, and run a Java program using the Java Shell, a command prompt, and the NetBeans integrated development environment (IDE)

  • What observable and resolved modules are

  • What a module graph is

  • What the module path and the class path are and how to use them

  • Briefly about the Java Platform and the Java Virtual Machine (JVM)

This chapter and the rest of the chapters in this book assume that you have installed JDK 9 and NetBeans IDE 9, as described ...

Get Beginning Java 9 Fundamentals: Arrays, Objects, Modules, JShell, and Regular Expressions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.