Java: The Complete Reference, Twelfth Edition

  • 21h 44m
  • Herbert Schildt
  • McGraw-Hill/Osborne
  • 2021

The Definitive Java Programming Guide

Fully updated for Java SE 17, Java™: The Complete Reference, Twelfth Edition explains how to develop, compile, debug, and run Java programs. Best-selling programming author Herb Schildt covers the entire Java language, including its syntax, keywords, and fundamental programming principles. You’ll also find information on key portions of the Java API library, such as I/O, the Collections Framework, the stream library, and the concurrency utilities. Swing, JavaBeans, and servlets are examined, and numerous examples demonstrate Java in action. Of course, recent additions to the Java language, such as records, sealed classes, and switch expressions are discussed in detail. Best of all, the book is written in the clear, crisp, uncompromising style that has made Schildt the choice of millions worldwide.

In this Book

  • Preface
  • The History and Evolution of Java
  • An Overview of Java
  • Data Types, Variables, and Arrays
  • Operators
  • Control Statements
  • Introducing Classes
  • A Closer Look at Methods and Classes
  • Inheritance
  • Packages and Interfaces
  • Exception Handling
  • Multithreaded Programming
  • Enumerations, Autoboxing, and Annotations
  • I/O, Try-with-Resources, and other Topics
  • Generics
  • Lambda Expressions
  • Modules
  • Switch Expressions, Records, and Other Recently Added Features
  • String Handling
  • Exploring Java.Lang
  • Java.Util Part 1—The Collections Framework
  • Java.Util Part 2—More Utility Classes
  • Input/Output—Exploring
  • Exploring NIO
  • Networking
  • Event Handling
  • Introducing the AWT—Working with Windows, Graphics, and Text
  • Using AWT Controls, Layout Managers, and Menus
  • Images
  • The Concurrency Utilities
  • The Stream API
  • Regular Expressions and Other Packages
  • Introducing Swing
  • Exploring Swing
  • Introducing Swing Menus
  • Java Beans
  • Introducing Servlets
  • Using Java’s Documentation Comments
  • Introducing Jshell
  • Compile and Run Simple Single-File Programs in One Step