Home > Store

Java 2 by Example, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Java 2 by Example, 2nd Edition

Book

  • Your Price: $39.99
  • List Price: $49.99
  • Available on demand.

About

Features

  • Student-friendly pedagogical tools—Include Tips, Notes, Cautions, Cross-References and Chapter Summaries.
    • Helps guide students through the chapters. Ex.___

  • Structured programming techniques—Throughout chapters.
    • Helps students develop a structured programming technique to isolate problems, write correct problems faster, and produce easy-to-maintain programs. Ex.___

  • Example-oriented approach.
    • Gives students many small examples of Java programming and most chapters conclude with a larger Java programming example. Ex.___

  • Personal Information Manager (Chapter 22—“Case Study”).
    • Teaches students to build an application by applying the concepts learned throughout the book. Ex.___

Description

  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Pages: 848
  • Edition: 2nd
  • Book
  • ISBN-10: 0-7897-2593-2
  • ISBN-13: 978-0-7897-2593-6

Java 2 by Example, Second Edition gives novice programmers in-depth coverage of both object-oriented programming and Java fundamentals. It starts with an overview of Java, including a survey of development tools beginners should use. The book explains the basics of the Java language, including operators, expressions, statements and more; and Object-Oriented Programming with classes and objects, inheritance, and dynamic methods. The author includes a chapter applying the concepts of OOP to object-oriented analysis and design methods. Later chapters demonstrate organizing data in collections and utilizing Java's built-in mathematical functions. Along the way, readers learn from hundreds of examples explaining every concept. Plus, each chapter ends with a series of review questions to ensure that readers are caught up - with answers provided in an appendix.

Downloads

Source Code

Source code for the examples developed in the book - 271 kb -- 0789725932.zip

Sample Content

Online Sample Chapters

Basic Thread Operations in Java

From Literals to Expressions in Java

Working with Streams in Java

Table of Contents



Introduction.

I. EXPLORING THE LANGUAGE.

1. Introducing Java.

What Is Java? Development Tools. Java Programs. Java Versus C++. What's Next? Reviewing It. Checking It. Applying It.

2. From Unicode to Types.

Unicode. Comments. Identifiers. Types. What's Next? Reviewing It. Checking It. Applying It.

3. From Literals to Expressions.

Literals. Variables. Separators and Operators. Expressions. What's Next? Reviewing It. Checking It. Applying It.

4. Statements.

Types of Statements. Decision Statements. Loop and Loop Control Statements. Other Statements. What's Next? Reviewing It. Checking It. Applying It.

5. Classes and Objects.

Classes. Fields. Methods. Objects. What's Next? Reviewing It. Checking It. Applying It.

6. Inheritance.

What Is inheritance? The Root of All Classes. Interfaces. Inheritance Versus Composition. What's Next? Reviewing It. Checking It. Applying It.

7. Polymorphism.

What Is Polymorphism? Method Binding. Abstract Classes. Runtime Type Information. What's Next? Reviewing It. Checking It. Applying It.

8. Initializers and Nested Classes.

Initializers. Garbage Collection. Finalization. Nested Classes. What's Next? Reviewing It. Checking It. Applying It.

9. Exceptions and Exception Handlers.

What Are Exceptions? Throwing Exceptions. Catching Exceptions. Cleaning Up. What's Next? Reviewing It. Checking It. Applying It.

10. Threads.

What Are Threads? Synchronization. Scheduling. Thread Groups. What's Next? Reviewing It. Checking It. Applying It.

11. Packages.

What Are Packages? The Package Directive. The Import Directive. Playing with Packages. What's Next? Reviewing It. Checking It. Applying It.

II. EXPLORING APIs.

12. From Characters to String Tokenizers.

Characters. Strings. String Buffers. String Tokenizers. What's Next? Reviewing It. Checking It. Applying It.

13. From Fundamental Data Structures to Collections.

Fundamental Data Structures. Wrappers. Self-Referential Classes. Collections. What's Next? Reviewing It. Checking It. Applying It.

14. Mathematics.

Java and Mathematics. Essential Math Classes. Random Numbers. Big Decimals and Big Integers. What's Next? Reviewing It. Checking It. Applying It.

15. Files and Streams.

Working with Files. Working with Streams. Object Serialization. Stream Tokenizers. What's Next? Reviewing It. Checking It. Applying It.

III. APPENDIXES.

Appendix A. Answers to Quizzes.
Appendix B. Reserved Words.

Assertions.

Appendix C. Operator Precedence.
Appendix D. Additional Resources.

Certification.

FAQs, Forums, and Newsgroups. Magazines, Tutorials, and the Java Developer Connection. Glossary. Index.

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership