Book description
Completely revised and up-to-date coverage of
Generic programming, restrictions and limitations, type bounds, wilcard types, and generic reflection
Swing GUI development, including input validation and other enhancements
Exception handling and debugging, including chained exceptions, stack frames, assertions, and logging
Streams and files, the new I/O API, memory-mapped files, file locking, and character set encoders/decoders
Regular expressions using the powerful java.util.regex package
Inner classes, reflection, and dynamic proxies
Application packaging and the Preferences API
The seventh edition of Core Java™ 2, Volume I, covers the fundamentals of the Java 2 Platform, Standard Edition (J2SE™). A no-nonsense tutorial and reliable reference, this book features thoroughly tested real-world examples. The most important language and library features are demonstrated with deliberately simple sample programs, but they aren’t fake and they don’t cut corners. More importantly, all of the programs have been updated for J2SE 5.0 and should make good starting points for your own code. You won’t find any toy examples here. This is a book for programmers who want to write real code to solve real problems.
Volume I concentrates on the fundamental concepts of the Java language, along with the basics of user-interface programming and provides detailed coverage of
Object-oriented programming
Reflection and proxies
Interfaces and inner classes
The event listener model
Graphical user-interface design with the Swing UI toolkit
Exception handling
Stream input/output and object serialization
Generic programming
For the same real-world treatment of enterprise features and advanced user-interface programming, look for the forthcoming new edition of Core Java™ 2, Volume II—Advanced Features.
It includes new sections on metadata and other J2SE 5.0 enhancements along with complete coverage of: Multithreading • Distributed objects • Databases • Advanced GUI components • Native methods • XML Processing • Network programming • Collection classes • Advanced graphics • Internationalization • JavaBeans
Table of contents
- Copyright
- List of Code Examples
- Preface
- Acknowledgments
- 1. An Introduction to Java
- 2. The Java Programming Environment
- 3. Fundamental Programming Structures in Java
- 4. Objects and Classes
- 5. Inheritance
- 6. Interfaces and Inner Classes
- 7. Graphics Programming
- 8. Event Handling
- 9. User Interface Components with Swing
- 10. Deploying Applets and Applications
- 11. Exceptions and Debugging
-
12. Streams and Files
- Streams
- The Complete Stream Zoo
- ZIP File Streams
- Use of Streams
-
Object Streams
- Storing Objects of Variable Type
- Understanding the Object Serialization File Format
- Solving the Problem of Saving Object References
- Understanding the Output Format for Object References
- Modifying the Default Serialization Mechanism
- Serializing Singletons and Typesafe Enumerations
- Versioning
- Using Serialization for Cloning
- File Management
- New I/O
- Regular Expressions
- 13. Generic Programming
- A. Java Keywords
- B. Retrofitting JDK 5.0 Code
Product information
- Title: Core Java™ 2 Volume I - Fundamentals, Seventh Edition
- Author(s):
- Release date: August 2004
- Publisher(s): Pearson
- ISBN: 9780131482029
You might also like
book
Core Java® Volume I—Fundamentals, Tenth Edition
Core Java® has long been recognized as the leading, no-nonsense tutorial and reference for experienced programmers …
book
Core Java™ 2 Volume II - Advanced Features, Seventh Edition
A new edition of this title is available, ISBN-10: 0132354799 ISBN-13: 9780132354790 Completely revised and up-to-date …
book
Core Servlets and JavaServer Pages™: Volume 1: Core Technologies, 2nd Edition
The J2EE(TM) Platform has become the technology of choice for developing professional e-commerce applications, interactive Web …
book
Professional Android, 4th Edition
The comprehensive developer guide to the latest Android features and capabilities Professional Android, 4th Edition shows …