Programming · Ebook
Java: Build Anything, Run Everywhere
by Shriira Press
4.8(1,110)196 pagesPublished 2026
Java compiles to portable bytecode that runs anywhere a JVM does, manages memory for you, and powers enterprise backends, Android, and big-data systems the world over. This free, example-driven book teaches it from the ground up: the JVM and the compile-run model, types and control flow, then the heart of Java — classes, objects, inheritance, polymorphism, and interfaces — followed by the Collections Framework and generics, exception handling, how the JVM's garbage collector manages memory, and the modern features (lambdas, streams, records) that make today's Java concise. Eleven focused chapters with runnable code and clear diagrams. Learn the language that builds anything and runs everywhere.
Contents
- 1Preface
- 2Chapter 1 — What Java Is and the JVM
- 3Chapter 2 — Getting Started
- 4Chapter 3 — Variables, Types, and Operators
- 5Chapter 4 — Control Flow
- 6Chapter 5 — Classes and Objects
- 7Chapter 6 — Inheritance and Polymorphism
- 8Chapter 7 — Interfaces and Abstract Classes
- 9Chapter 8 — Collections and Generics
- 10Chapter 9 — Exception Handling
- 11Chapter 10 — Memory and Garbage Collection
- 12Chapter 11 — Modern Java and Good Practice
