Book description
What is this book about?
This book is a comprehensive introduction to the Java programming language, updated thoroughly (more than 35ew and updated) for the latest SDK 1.5 release. This book shows readers how to build real-world Java applications using the Java SDK. No previous programming experience is required. The author uses numerous step-by-step programming examples to guide readers through the ins and outs of Java development. In addition to fully covering new features of SDK 1.5, such as generic types, the author has also added new chapters on Java database programming with JDBC and Java programming with XML.
Table of contents
- Copyright
- About the Author
- Credits
- Foreword
- Acknowledgments
- Introduction
- Introducing Java
-
Programs, Data, Variables, and Calculation
- Data and Variables
- Integer Data Types
- Floating-Point Data Types
- Fixing the Value of a Variable
- Arithmetic Calculations
- Mixed Arithmetic Expressions
- The op= Operators
- Mathematical Functions and Constants
- Storing Characters
- Bitwise Operations
- Variables with a Fixed Set of Integer Values
- Boolean Variables
- Operator Precedence
- Program Comments
- Summary
- Exercises
- Loops and Logic
- Arrays and Strings
- Defining Classes
-
Extending Classes and Inheritance
- Using Existing Classes
- Class Inheritance
- Choosing Base Class Access Attributes
- Polymorphism
- Multiple Levels of Inheritance
- Abstract Classes
- The Universal Superclass
- Methods Accepting a Variable Number of Arguments
- Casting Objects
- More on Enumerations
- Designing Classes
- Using the final Modifier
- Interfaces
- Anonymous Classes
- Summary
- Exercises
- Exceptions
- Understanding Streams
- Accessing Files and Directories
- Writing Files
- Reading Files
- Serializing Objects
- Generic Class Types
- The Collections Framework
- A Collection of Useful Classes
- Threads
- Creating Windows
- Handling Events
- Drawing in a Window
- Extending the GUI
- Filing and Printing Documents
- Java and XML
- Creating and Modifying XML Documents
- Talking to Databases
- The JDBC in Action
- Keywords
- Computer Arithmetic
- Index
Product information
- Title: Ivor Horton's Beginning Java™ 2, JDK™ 5th Edition
- Author(s):
- Release date: December 2004
- Publisher(s): Wrox
- ISBN: 9780764568749
You might also like
book
Ivor Horton's Beginning Java®, Java 7 Edition
Ivor Horton's approach is teaching Java is so effective and popular that he is one of …
book
Just Java™ 2
The #1 introduction to J2SE 1.5 and enterprise/server-side development! An international bestseller for eight years, is …
book
Java™ Phrasebook
Essential Code and Commands Java Phrasebook gives you the code phrases you need to quickly and …
book
PURE Java™ 2
Pure Java 2 is a substantial and focused reference for professional Java programmers. This book begins …