Java 2 by Example, 2/E
0789725932

Jeff Friesen

Publisher: Que Publishing
Copyright: 2002
Format: Paper; 848 pp

ISBN-10: 0789725932
ISBN-13:9780789725936

Our Price: £28.99
Status: Not Yet Published
Estimated Availability: 04 Jan 2002



Description

For courses in Java programming.

Java 2 By Example, Second Edition teaches the basic concepts of Java through the use of examples and exercises. It has been revised and updated to include the newest features in Java 2 SDK 1.4. It teaches the fundamentals of the Java language, including operators, expressions, statements and more; plus Object-Oriented Programming with classes and objects, inheritance, and dynamic methods. Later chapters demonstrate organizing data in collections and developing user interfaces with the Java Foundation Classes (JFC), Abstract Windowing Toolkit (AWT) and Swing APIs. It is filled with new material covering topics such as networking and security. It includes a real-world case study using Java to build a useful personal information manager, which uses all the skills learned throughout the book.


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.


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.___