Home > Store

Sun Certification Training Guide: (CS-310-025 & CX-310-027): Java 2 Programmer and Developer Exams, 2nd Edition

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

Sun Certification Training Guide: (CS-310-025 & CX-310-027): Java 2 Programmer and Developer Exams, 2nd Edition

Premium Website

  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2002
  • Edition: 2nd
  • Premium Website
  • ISBN-10: 0-7897-2765-X
  • ISBN-13: 978-0-7897-2765-7

This book helps readers pass the Java certification exams by mapping the content directly to the exams' objectives. This feature helps readers quickly and easily understand test objectives, which maximizes their study time. This book is technically accurate and satisfies the reader's primary objective: to pass the exam. It meets these needs with Objective Explanations, Case Studies, Lab and Step-by-Step Exercises, Multiple Self-Assessment Opportunities, Study Strategies, Exam Tips, Review Breaks and Summaries, Key Terms, Notes, Warnings, and Fast Facts.

Sample Content

Online Sample Chapters

Java 2 Language Fundamentals

Language Fundamentals

Table of Contents


1. Overview of the Java Programmer Exam.

Introduction. What the Exam Covers. How the Exam Is Given. Being a Great Programmer Is Not Enough. How to Prepare for the Exam. How to Take the Exam.

2. Language Fundamentals.

Introduction. The Structure of Java Programs. Identifying Packages. Importing Classes and Interfaces from Other Packages. The main() Method. Comments. Identifiers and Keywords. Primitive Types and Literal Values.

3. Operators and Assignments.

Introduction. Java Operators. Bitwise Operators. Shift Operators. Comparison Operators. Logical Operators. Assignment Operators. The Cast Operator. The Ternary Operator. Operator Precedence and Order of Evaluation.

4. Declarations and Access Control.

Introduction. Declaring and Using Variables. Declaring and Using Methods. Declaring Initializers. Access Modifiers. Other Modifiers.

5. Flow Control and Exception Handling.

Introduction. Java Statements. Selection Statements. Iteration Statements. Throwing and Catching Exceptions.

6. Overloading, Overriding, Runtime Type, and Object Orientation.

Introduction. Object-Oriented Programming and Java. Object Composition and Reuse. Declaring Classes. Constructors. Declaring Interfaces. Inner and Anonymous Classes. Overloading Methods. Overriding Methods.

7. Garbage Collection.

Introduction. What Is Garbage Collection? How Does the Garbage Collector Work? When Is an Object Subject to Garbage Collection? How Is Finalization Performed?

8. Threads.

Introduction. How Multithreading Works. Creating Threads. Thread States. Scheduling. Sleeping and Waking. Stopping, Suspending, and Resuming. Blocking on I/O. Synchronization. Waiting and Notifying.

9. The java.lang Package.

Introduction. The Object, Class, and Package Classes. The ClassLoader, SecurityManager, Runtime, and RuntimePermission Classes. The System Class. The Wrapped Classes. The Math and StrictMath Classes. The Comparable Interface. The String and StringBuffer Classes. Threads and Processes. The Compiler Class. Exceptions and Errors. The Void Class.

10. The java.util Package.

Introduction. The Classes and Interfaces of the java.util Package. The Collections API. Date and Calendar-Related Classes. Internationalization Classes. Other java.util Classes and Interfaces.

11. The java.awt Package: Components and Facilities.

Introduction. Components and Containers. AWT Components. AWT Containers. Menus.

12. The java.awt Package: Layout.

Introduction. Working with Layout Managers. Using Layouts. Layout Managers, Layout Policies, and Containers. Absolute Positioning.

13. The java.awt Package: Event Handling.

Introduction. Handling Events. The JDK 1.02 Event Class. The Classes and Interfaces of the Event Delegation Model. An Event Delegation Example. Overriding a Component's Event Dispatcher.

14. The java.awt Package: Painting.

Introduction. The Canvas and Graphics Classes. Drawing Shapes. Drawing Text. Displaying Bitmapped Images. Clipping.

15. The java.io Package.

Introduction. Streams. The java.io Class Hierarchy. The java.io Interfaces. The InputStream Class. The OutputStream Class. Byte Array I/O. File I/O. The SequenceInputStream Class. Filtered I/O. Piped I/O. Object I/O. The Reader and Writer Classes. Character Array and String I/O. Character Sets and Codings. The InputStreamReader and OutputStreamWriter Classes. The FileReader and FileWriter Classes. Buffered Character I/O. Filtered Character I/O. The PipedReader and PipedWriter Classes. The PrintWriter Class. The RandomAccessFile Class. The StreamTokenizer Class.


16. Overview of the Java Developer Exam.

Introduction. Testing Objectives. How the Exam Is Given. The Programming Assignment. The Essay Exam. What the Exam Covers. How to Prepare for the Exam. How to Take the Exam.

17. Developing User Interfaces with Swing.

Introduction. Introducing Swing. Swing GUI Building. Swing Event Handling. Swing Applets. Converting to Swing.

18. Writing Client-Server Applications Using java.net.

Introduction. The Internet Protocol Suite. Client/Server Computing and the Internet. Inside java.net. Web-Related Classes.

19. Accessing Databases Using JDBC.

Introduction. Introducing Relational Databases. One-Tier, Two-Tier, and Three-Tier Database Architectures. Remote Database Access and Drivers. Setting Up a Database. Connecting to a Database. Working with Result Sets. Executing SQL Statements. JDBC 2.0 and a New Approach for Updating Records.

20. Developer Assignment Guide.

Introduction. What You Must Do. Planning and Documentation. Assignment Deliverables. Assignment Objective. Assignment Requirements. Design Patterns. Implementation.


Fast Facts: Becoming a Sun Certified Java 2 Programmer.
Fast Facts: Becoming a Sun Certified Java 2 Developer.
Study and Exam Prep Tips.
Practice Exam: Becoming a Sun Certified Java 2 Programmer.
Practice Exam: Becoming a Sun Certified Java 2 Developer.


Appendix A. What's on the CD-ROM.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership