The Definitive Java Programming Guide In Java: The Complete Reference, Eighth Edition, bestselling programming author Herb Schildt shows you everything you need to develop, compile, debug, and run Java programs. Updated for Java Platform, Standard Edition 7 (Java SE 7), this comprehensive volume covers the entire Java language, including its syntax, keywords, and fundamental programming principles. You'll also find information on key elements of the Java API library. JavaBeans, servlets, applets, and Swing are examined and real-world examples demonstrate Java in action. In addition, new Java SE 7 features such as try-with-resources, strings in switch, type inference with the diamond operator, NIO.2, and the Fork/Join Framework are discussed in detail.
Coverage includes:
Data types and operators Control statements Classes and objects Constructors and methods Method overloading and overriding Interfaces and packages Inheritance Exception handling Generics Autoboxing Enumerations Annotations The try-with-resources statement Varargs Multithreading The I/O classes Networking The Collections Framework Applets and servlets JavaBeans AWT and Swing The Concurrent API Much, much more
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