Table of Contents
Preface
Part 1: Java Fundamentals
1
Getting Started with Java
Technical requirements
Exploring Java features
OOP in Java
Working with OOP
Compiled language
Write once, run anywhere
Automatic memory management
Installing Java
Checking whether Java is installed on your system
Installing Java on Windows
Installing Java on macOS
Installing Java on Linux
Running Java online
Writing our first program
Hello world
Steps to create the program
Understanding the program
Compiling and running Java programs
Understanding the compilation process
Compiling the code with javac on the command line
Running the compiled code with Java on the command line
Working with an IDE
What is an IDE?
Choosing an IDE
Creating and running a program with an ...
Get Learn Java with Projects 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.