Home > Store

larger cover

Add To My Wish List

Java 2 by Example, 2nd Edition

  • Description
  • Downloads
  • Extras
  • Reviews
  • Sample Content & TOC

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.

Source Code

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

Customer Reviews

30 of 32 people found the following review helpful
5.0 out of 5 stars An example, too, of how to write a 'teaching book'..., March 30, 2000
Java 2 by Example is a book well written. As a practitioner needing to a good refresher and a deeper appreciation of the intricacies of the language that I haven't encountered in my experience, the book certainly meets my expectations. Also for beginners who need a solid foundation on Java, this book is highly recommended. It is an excellent 'teaching book' -- the writing style is pleasant and precise while anticipating my questions and need for clarification.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 17 people found the following review helpful
5.0 out of 5 stars Great ! No other way to describe it., June 2, 2000
By A Customer
I did not know Java. I purchased a book on Java programming, and then I got lost. I could not even figure out how to differentiate a Java applet from a Java program. I went back to the bookstore and looked through at least 15 books. Java 2 by Example was the only one that spelled out clearly ... the simplest Java application vs. the simplest Java applet. I was impressed by the immediacy of the examples, so I bought the book and my intuition paid off. This book is terrific. Friesen takes you through the language in a clear, consise manner, with concrete examples that build one upon the other. It is very well organized and a breeze to read. And it should be. You are trying to learn Java, not the idiosyncrasies of an author's writing skills. This book is just terrific.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful
5.0 out of 5 stars I am this book's author and need your help, September 17, 2002
By 
Jeff Friesen (Winnipeg, Manitoba Canada) - See all my reviews
This review is from: Java 2 by Example (2nd Edition) (Paperback)
Hello, I am the author of Java 2 By Example, Second Edition -- and I have a problem with the 10 positive/negative reviews on this page. The problem is: all of those reviews apply to the book's predecessor and NOT to this book. Therefore, a potential reader that reads those reviews is at a disadvantage -- the reader thinks those reviews reflect the Second Edition of this book, when they do not. I would appreciate your removal of all ten reviews (if possible). Thanks in advance for your help.

Jeff Friesen

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 15 customer reviews...

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.

 
Best Value

Book + eBook  $89.98  $53.99

Book Price: $39.99
eBook Price: $14.00

Buy

This book includes free shipping and is available on demand.

Buy

Book  $49.99  $39.99

Available on demand.

This book includes free shipping and is available on demand.

Buy

eBook (Adobe DRM)  $39.99  $31.99

About Adobe DRM eBooks

Information This eBook requires the free Adobe® Digital Editions software.

Before downloading this DRM-encrypted PDF, be sure to:


  • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
  • Authorize your copy of Adobe Digital Editions using your Adobe ID. If you don't already have an Adobe ID, you can create one here.
Purchase Reward: One Month Free Subscription
By completing any purchase on Que, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.