Have one to sell? Sell yours here
Java 2: A Beginner's Guide
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java 2: A Beginner's Guide [Paperback]

Herbert Schildt (Author)
4.8 out of 5 stars  See all reviews (39 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Paperback --  
There is a newer edition of this item:
Java, A Beginner's Guide, 5th Edition Java, A Beginner's Guide, 5th Edition 5.0 out of 5 stars (2)
$24.35
In Stock.

Book Description

0072225882 978-0072225884 November 25, 2002 2nd
Bestselling author and programming guru Herb Schildt brings you Java 2 essentials in this newly updated introductory guide. Covering the latest I/O classes and features, this book teaches you Java 2 fundamentals through hands-on projects, end-of-module reviews, annotated code samples, and Q&A sections.


Editorial Reviews

From the Back Cover

Essential Skills--Made Easy!

Learn the fundamentals of Java 2 programming from master programmer and best-selling author Herb Schildt. Fully updated to cover Java 2 version 1.4, this step-by-step guide will have you programming in no time. You'll start at the beginning, learning why Java is the preeminent language of the Internet, how it relates to object-oriented programming (OOP), and the general form of a Java program. Next, it's on to the foundations of Java programming, including data types, operators, program control statements, classes, objects, and methods. You'll then progress to more advanced topics, such as inheritance, exception handling, the I/O system, multithreading, applets, and much more. Get started programming in Java today using this self-paced, easy-to-follow tutorial.

Designed for Easy Learning:

  • Modules--Each concept is divided into logically organized modules (chapters), ideal for self-paced learning
  • Critical Skills--Each module opens with the specific skills covered in the module
  • Mastery Checks--End-of-module reviews test knowledge using short-answer, multiple-choice, and fill-in-the-blank questions
  • Ask the Experts--Q&A sections throughout are filled with bonus information and helpful tips
  • Progress Checks--Quick self-assessment sections check your progress
  • Projects--Practical exercises show how to apply the critical skills learned in each module
  • Annotated Syntax--Example code annotated with commentary that describes the programming techniques being illustrated

About the Author

Herbert Schildt is the world's leading programming author. He is an authority on the C, C++, Java, and C# programming languages, and a master Windows programmer. His programming books have sold over three million copies worldwide and have been translated into all major foreign languages. He is the author of numerous best sellers including, C++: The Complete Reference, C: The Complete Reference, Java 2: The Complete Reference, Java 2: A Beginner's Guide, C#: A Beginner's Guide, and many more. Schildt holds a master's degree in computer science from the University of Illinois.

Product Details

  • Paperback: 544 pages
  • Publisher: McGraw-Hill Osborne Media; 2nd edition (November 25, 2002)
  • Language: English
  • ISBN-10: 0072225882
  • ISBN-13: 978-0072225884
  • Product Dimensions: 8.7 x 7.8 x 1.2 inches
  • Shipping Weight: 1.9 pounds
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (39 customer reviews)
  • Amazon Best Sellers Rank: #1,248,541 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

39 Reviews
5 star:
 (32)
4 star:
 (5)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.8 out of 5 stars (39 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

59 of 59 people found the following review helpful:
5.0 out of 5 stars A Great Book for Novice & Experienced Programmers Alike, October 12, 2003
This review is from: Java 2: A Beginner's Guide (Paperback)
When I needed to learn the Java programming language very quickly for work, I read many reviews and narrowed down my search to handful of few books. I looked at copies of my final possible choices in a local bookstore and finally purchased Herbert Schildt's "Java 2: A Beginner's Guide, Second Edition" and have absolutely no regrets.

Herbert Schildt's book was written for people to learn the fundamentals of programming in Java as easily and as quickly as possible. (Of course, each reader can go at his/her own pace.) After I began reading the book, I started to become accustomed to Java's terminology and downloaded Sun's free Java compiler online. Within a few days, I was writing my own simple stand-alone Window's applications and applets. After that, I started exploring more complex concepts.

Herbert Schildt's writing style and book organization made it possible for me to start writing a complex, multithreaded, work-related application within 4 weeks. He begins the book with a history of the Java language; it's relations to C, C++ and C#; it's built-in security & portability; bytecode; and object-oriented programming. He then explores data types, operators, and program control statements before explaining the heart of a Java program: classes, objects and methods. From there, the reader is ready to be introduced to some of Java's more powerful aspects: inheritance, polymorphism, abstract classes, packages and interfaces.

Next, what elevates Java over many other languages is its built in exception handling. Being able to track and locate programming errors is often one of the most difficult aspects of programming, especially when the program is large and complex. Java allows programmers to test various blocks of a program using the statements "try" and "catch". Some methods require the use of the "try" and "catch" block because of their potential to generate an exception that is outside of the program's control (such as file streams).

The next very powerful aspect of Java that Herbert Schildt explores is multithreading. Seasoned real-time programmers will be very familiar with the concept of multitasking, but for many novice programmers, the concept of multitasking or multithreading (as it is called in Java) can be daunting and confusing. Herbert Schildt's explanations of how to use multithreading (and its potential problems) are thorough and relevant. Finally, Herbert Schildt explores the creation of applets.

As your knowledge of Java expands, you'll find it very worthwhile to purchase a more comprehensive Java reference book that contains a broad list of the various classes and methods available within the language. For this, I highly recommend Herbert Schildt's "Java 2: The Complete Reference, Fifth Edition", which is geared for J2SE 1.4.

Overall, I rate "Java 2: A Beginner's Guide, Second Edition" by Herbert Schildt with 5 out of 5 stars. Java is a great programming language, and Herbert Schildt's instructions make learning the language is painless as possible.

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


36 of 36 people found the following review helpful:
4.0 out of 5 stars Best intro I've found so far., October 15, 2002
By 
Amazon Verified Purchase(What's this?)
I've been reading a LOT of intro Java books, and most seem to suffer from the same errors. One common type of book builds the entire text aorund the construction of a complex transaction engine- which I don't happen to have any interest in writing. Others start with a few examples, and then give you 200 page sof details of the language with no examples whatsoever, promising that "we'll see how this works in following chapters". Another type repeatedly provides examples in which we are encourged to ignore the confusing bits and just accept on faith that it's important they look that way. And then there are all those books that assume you know C++ and just need a little transition information.

Happily this book suffers from none of these flaws. It covers a wide range of applications, it's full of detail on the latest graphical interface tools, there are plenty of small examples, and no command or definitions is introduced without a clear example.

This is an excellent book for someone with some programming experience, but no experience in object oriented methods. Storngly recommended.

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


51 of 56 people found the following review helpful:
3.0 out of 5 stars Decent Introduction for Absolute Beginners, June 1, 2001
By 
"schapel" (Hillsborough, NJ USA) - See all my reviews
Overall, this book is a good introduction to Java for those with little or no programming background. Concepts are explained "from the ground up" so that first-time programmers can understand them. However, for a book that teaches Java to beginners and covers nearly the entire Java language, multithreading, I/O, and graphics programming, 600 pages is not long enough to give thorough and accurate descriptions.

I found many oversimplifications and half-truths throughout the book:

"Static methods may call only static methods." Not true -- static methods may call non-static methods if called on an explicit reference.

"A call to a superclass constructor must be the first statement in every constructor." Not true -- you can call the current class's constructor with "this" instead of "super". This is an important technique called "constructor chaining."

"Wait and notify may be called only from synchronized methods." Not true -- they may be called from non-synchronized methods as long as they are called from a synchronized block and called on a reference to an object the thread holds a lock on.

The explanation about how Java "passes objects by reference" confuses many beginning Java programmers, and the trick of passing an Integer to simulate passing an int by reference doesn't work because Java passes references by value and the wrapper classes are immutable. The explanation about method overloading supporting polymorphism is confusing because which overloaded method to call is decided at compile-time, whereas polymorphism means that the method to call is decided at run-time.

There are numerous examples that demonstrate the mechanics of Java without showing how the constructs should be used in an actual Java program. The example of a finalizer neglects to call super.finalize() as all finalizers should. The example of a catch block sweeps the caught exception under a rug instead of recovering from it. The example of a static initializer simply prints a message to show that it was executed instead of doing something useful like loading a class or library.

Readers who learn Java from this book should be prepared to study a more thorough and accurate Java programming book after this one. For those who just want to program in Java as a hobby, this makes a decent introduction to the topic. Just be aware that not everything the book says is true or as simple as it appears.

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

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Browse and search another edition of this book.
First Sentence:
The rise of the Internet and the World Wide Web have fundamentally reshaped computing. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
gallons int mpg, passengers int fuelcap, simple banner applet, stop the clock notify, method from being overridden, int denom, private double height, private double width, int passengers, int numer, invoking string, superclass reference, delegation event model, public static void, int miles, output from this program, thread interrupted, queue class, interthread communication, output from the program, enclosing class, thread ending, call superclass constructor, type wrappers, loop control variable
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Mastery Check, Beginner's Guide, Ask the Expert Question, Programmers Reference, Expe Question, Method Description, Disk Full, Invalid Error Code, Operator Meaning, Java Beginners Guide, Red Storm Rising, Input Error, Output Error
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
This book cites 3 books:



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject