The Definitive Java Programming Guide
Fully updated for Java SE 8, Java: The Complete Reference, Ninth Edition explains how to develop, compile, debug, and run Java programs. Bestselling programming author Herb Schildt covers the entire Java language, including its syntax, keywords, and fundamental programming principles, as well as significant portions of the Java API library. JavaBeans, servlets, applets, and Swing are examined and real-world examples demonstrate Java in action. New Java SE 8 features such as lambda expressions, the stream library, and the default interface method are discussed in detail. This Oracle Press resource also offers a solid introduction to JavaFX.
- Data types, variables, arrays, and operators
- Control statements
- Classes, objects, and methods
- Method overloading and overriding
- Interfaces and packages
- Exception handling
- Multithreaded programming
- Enumerations, autoboxing, and annotations
- The I/O classes
- Lambda expressions
- String handling
- The Collections Framework
- Event handling
- AWT and Swing
- The Concurrent API
- The Stream API
- Regular expressions
- Applets and servlets
- Much, much more
About the Author
Herbert Schildt is the world’s leading programming author and a top authority on Java, C++, and C#. His books have sold millions of copies worldwide. Herb’s acclaimed books include Java: The Complete Reference, Java: A Beginner's Guide, C++: The Complete Reference and C#: The Complete Reference.
Most helpful customer reviews
34 of 36 people found the following review helpful.
An Outstanding Resource
Some reviewers have said this book is too big to read through. I'll put that to the test. This book is BIG but written very nicely. It is a reference book, yes, but can be read through comfortably. It is clear and succinct without embellishment. There are plenty of examples throughout each section to apply the outlined knowledge. I especially like how some sections include the *why* of the way things are. It helps with understanding. I am an experienced programmer coming from many other object-oriented languages and wanted a way to learn Java without the fluff. This book is perfect in that respect. It is in no way a novice guide to programming. If you are not familiar--at least conceptually--and experienced with OOP/OOD (among other things), come back later for this massive text. Otherwise, it's worth the splurge at ~$45 for nearly 1300 pages. It is well-organized and written with great clarity.
TOC (At a Glance):
__ Part I The Java Language __
1. The History and Evolution of Java 3
2. An Overview of Java 17
3. Data Types, Variables, and Arrays 35
4. Operators 61
5. Control Statements 81
6. Introducing Classes 109
7. A Closer Look at Methods and Classes 129
8. Inheritance 161
9. Packages and Interfaces 187
10. Exception Handling 213
11. Multithreaded Programming 233
12. Enumerations, Autoboxing, and Annotations (Metadata) 263
13. I/O, Applets, and Other Topics 301
14. Generics 337
15. Lambda Expressions 381
__ Part II The Java Library __
16. String Handling 413
17. Exploring java.lang 441
18. java.util Part 1: The Collections Framework 497
19. java.util Part 2: More Utility Classes 579
20. Input/Output: Exploring java.io 641
21. Exploring NIO 689
22. Networking 727
23. The Applet Class 747
24. Event Handling 769
25. Introducing the AWT: Working withWindows, Graphics, and Text 797
26. Using AWT Controls, Layout Managers, and Menus 833
27. Images 885
28. The Concurrency Utilities 915
29. The Stream API 965
30. Regular Expressions and Other Packages 991
2 of 2 people found the following review helpful.
Succinct and easy to undertand. Nothing on JPA
I have been developing with Java for quite a few years. I bought the kindle edition of this book in order to get handle on some of the 7 and 8's new features. I have only read part one of this book so far, however I have found it mostly very succinct and easy to understand. I think they could have put a little more effort as far formatting. The code samples are all in mono spaced fonts with no markups or special formatting whatsoever. Another really strange thing about this book is that seems to cover just about all of the important portions of Java API, be it servlet, Java applets, Java Bean, Swing or Java FX, with the glaring exception of JPA. In fact a kindle search for 'jdbc' in the book yielded "no results". Really quite puzzling since most of the Java code I write involve databases, and plus this book is actually from the oracle press.
0 of 0 people found the following review helpful.
See all 101 customer reviews...
Not bad enough to simply delete, but not worth the price.
By Harold M. Martin
Well, almost a complete reference. No mention of weak references, phantom references, etc. which as I recall have been around since Java 5/ Also, there are quite a few annoying typos. Typos are particularly annoying when they are in the code. One reading about a subject for the first time can find that a parenthesis isn't closed but the question is whether the open parenthesis should be removed or if to be closed, just where. Same goes for opening quotation marks without corresponding closing ones, also to be found in provided code.
The quality of writing leaves something to be desired as well. Once one eventually figures out how a particular Java feature works, going back to the writing one can see how it should have been properly. A particular offender is the section on lambda expressions.
I won't simply delete the book because it is os some use, but only supplemented by reading other references on the same subject from time to time to get the information completely straight. It really isn't worth the price I paid for it.