The Definitive Guide for Java Programmers In this international bestseller, top-selling programming author Herbert Schildt shows you everything you need to develop, compile, debug, and run Java programs. The book has been updated to cover the latest version of the world's number-one programming language. Java 7: The Complete Reference, Eighth Edition covers all of the Java 7 features, including closures, superpackages, reified generic types, the enhanced switch statement, chained method invocations, extension methods, the enhanced catch statement, and enum values. The book also includes details on the Swing Application Framework and a chapter on language-level XML support.
Table of Contents: Part I: The Java Language
1. The History and Evolution of Java
2. An Overview of Java
3. Data Types, Variables, and Arrays
4. Operators
5. Control Statements
6. Introducing Classes
7. A Closer Look at Methods and Classes
8. Inheritance
9. Packages and Interfaces
10. Exception Handling
11. Multithreaded Programming
12. Enumerations, Autoboxing, and Annotations (Metadata)
13. I/O, Applets, and Other Topics
14. Generics
Part II: The Java Library
15. String Handling
16. Exploring java.lang
17. java.util Part 1: The Collections Framework
18. java.util Part 2: More Utility Classes
19. Input/Output: Exploring java.io
20. Exploring NIO
21. Networking
22. The Applet Class
23. Event Handling
24. Introducing the AWT: Working with Windows, Graphics, and Text
25. Using AWT Controls, Layout Managers, and Menus
26. Images
27. The Concurrency Utilities
28. Regular Expressions and Other Packages
Part III: Software Development Using Java
29. Java Beans
30. Introducing Swing
31. Exploring Swing
32. Servlets
Part IV: Applying Java
33. Financial Applets and Servlets
34. Creating a Download Manager in Java
Appendix: Using Java's Documentation Comments
Index