Gift Guide

Java 2 Exam Prep, Second Edition / Edition 2

Hardcover (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Hardcover)
  • All (12) from $1.99   
  • New (1) from $94.50   
  • Used (11) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2014

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by


Java 2 Exam Prep, 2nd Edition is the updated and revised version of one of our best selling titles in the Exam Prep series. This content-rich and highly detailed book gives the reader not only thorough test preparation for the Sun Certified Java Programmer, Java 2 exam (310-025), but also serves as a valuable on-the-job reference. The book covers key test content and objectives like learning Java language fundamentals, creating Java classes, building GUIs with the AWT Components, and working with flow control and exceptions. Exam Prep study guides add even more value to the reader with real-world projects and examples, a CD containing 50 realistic practice test questions, and a feature that allows free electronic downloads of additional questions.

The book covers key test content and objectives like learning Java language fundamentals, creating Java classes, building GUIs with the AWT Components, and working with flow control and exceptions.

Read More Show Less

Product Details

  • ISBN-13: 9781588801401
  • Publisher: Coriolis Value
  • Publication date: 8/31/2001
  • Series: Exam Prep Series
  • Edition description: 2ND BK&CDR
  • Edition number: 2
  • Pages: 640
  • Product dimensions: 7.88 (w) x 9.62 (h) x 1.91 (d)

Meet the Author

Bill Brogden (Austin, Texas) is a full time programmer and author with over 20 years of experience. Bill is an expert in several programming languages and currently focuses on the Java language, of which he has written five books. He has also developed the script-driven Java-based architecture for LANWright's online course delivery engines that is used to provide practice tests on a wide range of subjects.
Read More Show Less

Read an Excerpt

Chapter One: Introduction to Java

After completing this chapter, you will be able to:
  • Understand some of the design philosophy behind Java
  • Understand the parts of the Java Software Development Kit (SDK)
  • Run the demo programs included with the SDK
Java started as "Oak," a language devised at Sun Microsystems by James Gosling; he invented Oak to be used as code embedded in consumer electronics control-lers. Gosling was frustrated by the difficulties of creating stable and secure control programs in C, so he decided to make a fresh start. When the embedded controller business went off in other directions, Oak was without a job—that is, until the Internet and the World Wide Web came along. Suddenly, Java had a new career opportunity.

Java Design Principles

One joke making the rounds when Java was first introduced described Java as "fully buzzword-compliant." This statement does have a certain amount of truth, because Java incorporates much of the modern thinking about computer languages. One of the first statements from the designers described Java as a simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, high-performance, multithreaded, and dynamic language.

The following list analyzes whether this description of Java has held up in the years since then:

  • Simple—Java's syntax and program organization is certainly much simpler than competing languages, such as C and C++. This simplicity is the benefit of starting with a clean slate. The decision to use many aspects of C syntax has made it easy for programmers to move from C to Java.
  • Object oriented—All Java programs consist entirely of interacting Java objects. The decision to make Java completely object oriented has certainly been vindicated by the ease with which various extensions have been created.
  • Distributed—Java was "network aware" from the beginning and seems to have become the preferred language for networked applications in which the complete application is composed of parts distributed across the network.
  • Portable, interpreted, architecture-neutral—Java programs are compiled to bytecodes that have no dependencies on a particular machine architecture. To run on a particular system, all you need is a Java interpreter. Java now runs on a large variety of systems, from mainframes to intelligent credit cards.
  • Robust—The Java designers made numerous design decisions to avoid the weaknesses inherent in other languages. Among these decisions was one to include strong typing, automatic memory management, and built-in array bounds checking.
  • Secure—The Java architecture provides multiple layers of security checking. These security checks range from low-level verification that bytecodes are legal, to high-level control of access to files and other system resources.
  • High-performance—Although some aspects of Java are very efficient, its raw speed still hasn't reached the level of C++, except in some limited cases.
  • Multithreaded—Java's design has made it easy to create multithreaded programs, which is one reason for Java's popularity in networked applications.
  • Dynamic—Running programs in Java can be dynamically modified, and developers have benefited greatly from this increased flexibility.

History of Java

Someday, the saga of Java's introduction and its impact on the computer industry will make an interesting story. Most introductions of new computer languages seem to creep along as various books and articles are written and people start experimenting.

Why Java has had such a huge impact so quickly is worth analyzing. The following factors seem to be among the most important:

  • Development subsidy by a large corporation—As a major hardware producer, Sun Microsystems could afford to fund the development program, publicity, and free distribution of Java.
  • The Internet—The first major Java program was the HotJava Web browser. The development of this browser demonstrates the extent to which Java's design is suitable for Internet-related applications. Programmers were looking for an easy route to explore programming for the Internet, and Java was right there for free download.
  • Worries about Wintel—The lock that Microsoft and Intel had obtained on the desktop computer had a lot of people worried. Java seemed to offer an escape from the Wintel world.
Table 1.1 presents a condensed timeline of recent Java history. On Java's route from its first public release in the spring of 1995 to its present form, Java 2, two major changes (as well as numerous minor changes) have occurred. Most of the core language has been stable since Java 1.1 was introduced. The release of the SDK 1.3 version has not changed the content of the programmer certification exam.

Table 1.1 A short history of Java....

Java Tools

Sun provides the basic tools for Java in the Software Development Kit (SDK), which is platform dependent and in a separate documentation package that is platform independent. All of the platform-dependent code is used to create a Java Virtual Machine (JVM) for a particular hardware and operating system configuration.

The Java Virtual Machine

You might think of the JVM as creating a computer within a computer—a virtual computer. The instructions in Java programs are compiled to bytecodes, which are the instructions for this virtual computer. Naturally, bytecodes are called such because they occupy a single eight-bit byte. In addition to interpreting bytecodes, the JVM must supply interfaces to the various subsystems that the operating system manages for the display, mouse, keyboard, file system, and I/O ports.

Development Tools

As the scope of the various Java libraries and toolkits continues to expand, Sun has rationalized the grouping of these products into three areas...
Read More Show Less

Table of Contents

Exam Insights
Ch. 1 Introduction to Java 1
Ch. 2 Java Language Fundamentals 13
Ch. 3 Java Operators with Primitives and Objects 47
Ch. 4 Creating Java Classes 85
Ch. 5 Flow Control and Exceptions 135
Ch. 6 Program Architecture with Java Classes and Objects 167
Ch. 7 Java Threads 201
Ch. 8 Standard Java Library 235
Ch. 9 Java AWT and JFC Components 279
Ch. 10 Building GUI Applications with Layout Managers 329
Ch. 11 Java Event Handling 361
Ch. 12 Java Graphics 399
Ch. 13 Java I/O 431
Ch. 14 Advanced Java Topics 467
Ch. 15 Sample Test 485
Ch. 16 Answer Key 523
App. A: Answers to Review Questions 535
App. B Objectives for Exam 310-025 555
App. C: Study Resources 557
App. D Java Programming and Debugging Hints 561
Glossary 567
Index 591
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)