Fully updated for Java SE 11, Java: The Complete Reference, Eleventh 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, the very important module system is discussed in detail. This Oracle Press resource also offers an introduction to JShell, Java's interactive programming tool. Best of all, the book is written in the clear, crisp, uncompromising style that has made Schildt the choice of millions worldwide.
Coverage includes:
Data types, variables, arrays, and operators
Control statements
Classes, objects, and methods
Method overloading and overriding
Inheritance
Local variable type inference
Interfaces and packages
Exception handling
Multithreaded programming
Enumerations, autoboxing, and annotations
The I/O classes
Generics
Lambda expressions
Modules
String handling
The Collections Framework
Networking
Event handling
AWT
Swing
The Concurrent API
The Stream API
Regular expressions
JavaBeans
Servlets
Much, much more
Code examples in the book are available for download at www.OraclePressBooks.com.