Java runs the back ends of banks, the world's biggest web services, and every Android-era server room — and this book teaches it to complete beginners. One-time $4.99 — and you keep it forever.
Java Programming: Fundamentals is a plain-English first course in Java for people who have never programmed. No experience needed, no expensive software: the only tool is the free JDK. You will compile and run real programs from the first chapter — typed variables, honest arithmetic, decisions, loops, methods, arrays, strings, classes and objects, the two collections you will actually use, and exceptions — ending with a menu-driven Personal Library program built from pieces of every earlier chapter. Every program printed in this book was compiled and run for real before it went on the page, all of them on JDK 21 — including the genuine crash in Chapter 11, whose real stack trace is printed verbatim as the chapter's teaching specimen, so you learn to read bad news calmly.
Inside (12 chapters, 79 pages, about 11,400 words, illustrated — one teaching diagram per chapter):
- What Java Is — Write Once, Run Anywhere: source code compiled to bytecode, a Java Virtual Machine on the machine at hand — what the famous promise actually means, and what it does not
- First Steps — Your First Program and Variables: the only setup you need (the free JDK), your first compiled program, and typed variables — a kind of box for every kind of value, with final for the ones that must never change
- Operators and Expressions — Doing the Math Honestly: why 7 / 2 is 3 in integer land, remainders, casts that keep the fraction, precedence, and the parentheses that stop a printed sum from lying
- Making Decisions — If, Else, and Switch: grade ladders where the first true branch wins, switch with stacked cases, and the one-line ? : choice
- Loops — Doing It Again Without Typing It Again: for, while, and do...while, running totals, countdowns, continue, and how infinite loops happen
- Methods — Small Machines With Names: parameters in, return out, overloading (one name, two doors), and Scanner — programs that stop performing and start listening
- Arrays — One Name, Many Values: indexes counted from 0, totals and averages with honest casts, highest-score hunts, and sorting
- Strings at Work — Text You Can Trust: immutability (the original never changes), why equals — never == — compares text, substring and indexOf, and StringBuilder for text built piece by piece
- Classes and Objects — The Java Way: blueprints and the objects stamped from them, private fields, constructors, getters, and encapsulation — doors the class chooses to open
- Collections You'll Actually Use — ArrayList and HashMap: the growing list and the labeled-hook map, generic types that refuse the wrong kind at compile time, and why a HashMap promises no order
- Errors and Exceptions — Reading Bad News Calmly: a genuine crash, printed verbatim — the real NumberFormatException stack trace, read top-down without fear — then try / catch / finally standing guard, and a first taste of files
- Capstone — Your Personal Library, and Where to Go Next: a working menu-driven library program assembled from pieces of every earlier chapter, an honest skills checklist, and the honest milestone path — Oracle's free Java Explorer badge, the Java Foundations exam (1Z0-811), and the far rung (1Z0-830) named without any readiness claim
The honest road ahead, exactly as the book prints it: the free first stamp is Oracle's Java Explorer path (free on Oracle's MyLearn, Explorer badge at an 80% assessment). The entry exam is Java Foundations, 1Z0-811 — US$95, 60 questions, 120 minutes, 65% to pass — with the book's caveat printed beside it: its syllabus was validated against JDK 1.8, so a few topics wear older dress, and basic inheritance is a flagged top-up for the Advanced Course. The far rung, Java SE 21 Developer Professional (1Z0-830, US$245), is named as the road's end only — this book makes no readiness claim for it, and no job promises anywhere.
Written in English (English edition). By Cosmo, published by Kaila's World. Instant download after checkout — the PDF is delivered automatically by the Digital Products app to your email. Personal-use license (see our Digital Rights & Licensing Policy). The companion volume, Java Programming: The Advanced Course, picks up where this one stops.