Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams

Book description

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.

Table of contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. Tell Us What You Think
  5. How to Use This Book
  6. Introduction
  7. Becoming a Sun Certified Java 2 Programmer
    1. Overview of the Java Programmer Exam
      1. Introduction
      2. What the Exam Covers
      3. How the Exam Is Given
      4. Being a Great Programmer Is Not Enough
      5. How to Prepare for the Exam
      6. How to Take the Exam
      7. Chapter Summary
      8. Apply Your Knowledge
    2. Language Fundamentals
      1. Introduction
      2. The Structure of Java Programs
      3. Identifying Packages
      4. Importing Classes and Interfaces from Other Packages
      5. The main() Method
      6. Comments
      7. Identifiers and Keywords
      8. Primitive Types and Literal Values
      9. Chapter Summary
      10. Apply Your Knowledge
    3. Operators and Assignments
      1. Introduction
      2. Java Operators
      3. Bitwise Operators
      4. Shift Operators
      5. Comparison Operators
      6. Logical Operators
      7. Assignment Operators
      8. The Cast Operator
      9. The Ternary Operator
      10. Operator Precedence and Order of Evaluation
      11. Chapter Summary
      12. Apply Your Knowledge
    4. Declarations and Access Control
      1. Introduction
      2. Declaring and Using Variables
      3. Declaring and Using Methods
      4. Declaring Initializers
      5. Access Modifiers
      6. Other Modifiers
      7. Chapter Summary
      8. Apply Your Knowledge
    5. Flow Control and Exception Handling
      1. Introduction
      2. Java Statements
      3. Selection Statements
      4. Iteration Statements
      5. Throwing and Catching Exceptions
      6. Chapter Summary
      7. Apply Your Knowledge
    6. Overloading, Overriding, Runtime Type, and Object Orientation
      1. Introduction
      2. Object-Oriented Programming and Java
      3. Object Composition and Reuse
      4. Declaring Classes
      5. Constructors
      6. Declaring Interfaces
      7. Inner and Anonymous Classes
      8. Overloading Methods
      9. Overriding Methods
      10. Chapter Summary
      11. Apply Your Knowledge
    7. Garbage Collection
      1. Introduction
      2. What Is Garbage Collection?
      3. How Does the Garbage Collector Work?
      4. When Is an Object Subject to Garbage Collection?
      5. How Is Finalization Performed?
      6. Chapter Summary
      7. Apply Your Knowledge
    8. Threads
      1. Introduction
      2. How Multithreading Works
      3. Creating Threads
      4. Thread States
      5. Scheduling
      6. Sleeping and Waking
      7. Stopping, Suspending, and Resuming
      8. Blocking on I/O
      9. Synchronization
      10. Waiting and Notifying
      11. Chapter Summary
      12. Apply Your Knowledge
    9. The java.lang Package
      1. Introduction
      2. The Object, Class, and Package Classes
      3. The ClassLoader, SecurityManager, Runtime, and RuntimePermission Classes
      4. The System Class
      5. The Wrapped Classes
      6. The Math and StrictMath Classes
      7. The Comparable Interface
      8. The String and StringBuffer Classes
      9. Threads and Processes
      10. The Compiler Class
      11. Exceptions and Errors
      12. The Void Class
      13. Chapter Summary
      14. Apply Your Knowledge
    10. The java.util Package
      1. Introduction
      2. The Classes and Interfaces of the java.util Package
      3. The Collections API
      4. Date and Calendar-Related Classes
      5. Internationalization Classes
      6. Other java.util Classes and Interfaces
      7. Chapter Summary
      8. Apply Your Knowledge
    11. The java.awt Package: Components and Facilities
      1. Introduction
      2. Components and Containers
      3. AWT Components
      4. AWT Containers
      5. Menus
      6. Chapter Summary
      7. APPLY YOUR KNOWLEDGE
    12. The java.awt Package: Layout
      1. Introduction
      2. Working with Layout Managers
      3. Using Layouts
      4. Layout Managers, Layout Policies, and Containers
      5. Absolute Positioning
      6. Chapter Summary
      7. Apply Your Knowledge
    13. The java.awt Package: Event Handling
      1. Introduction
      2. Handling Events
      3. The JDK 1.02 Event Class
      4. The Classes and Interfaces of the Event Delegation Model
      5. An Event Delegation Example
      6. Overriding a Component's Event Dispatcher
      7. Chapter Summary
      8. Apply Your Knowledge
    14. The java.awt Package: Painting
      1. Introduction
      2. The Canvas and Graphics Classes
      3. Drawing Shapes
      4. Drawing Text
      5. Displaying Bitmapped Images
      6. Clipping
      7. Chapter Summary
      8. Apply Your Knowledge
    15. The java.io Package
      1. Introduction
      2. Streams
      3. The java.io Class Hierarchy
      4. The java.io Interfaces
      5. The InputStream Class
      6. The OutputStream Class
      7. Byte Array I/O
      8. File I/O
      9. The SequenceInputStream Class
      10. Filtered I/O
      11. Piped I/O
      12. Object I/O
      13. The Reader and Writer Classes
      14. Character Array and String I/O
      15. Character Sets and Codings
      16. The InputStreamReader and OutputStreamWriter Classes
      17. The FileReader and FileWriter Classes
      18. Buffered Character I/O
      19. Filtered Character I/O
      20. The PipedReader and PipedWriter Classes
      21. The PrintWriter Class
      22. The RandomAccessFile Class
      23. The StreamTokenizer Class
      24. Chapter Summary
      25. Apply Your Knowledge
  8. Becoming a Sun Certified Java 2 Developer
    1. Overview of the Java Developer Exam
      1. Introduction
      2. Testing Objectives
      3. How the Exam Is Given
      4. The Programming Assignment
      5. The Essay Exam
      6. What the Exam Covers
      7. How to Prepare for the Exam
      8. How to Take the Exam
      9. Chapter Summary
    2. Developing User Interfaces with Swing
      1. Introduction
      2. Introducing Swing
      3. Swing GUI Building
      4. Swing Event Handling
      5. Swing Applets
      6. Converting to Swing
      7. Chapter Summary
      8. Apply Your Knowledge
    3. Writing Client-Server Applications Using java.net
      1. Introduction
      2. The Internet Protocol Suite
      3. Client/Server Computing and the Internet
      4. Inside java.net
      5. Web-Related Classes
      6. Chapter Summary
      7. Apply Your Knowledge
    4. Accessing Databases Using JDBC
      1. Introduction
      2. Introducing Relational Databases
      3. One-Tier, Two-Tier, and Three-Tier Database Architectures
      4. Remote Database Access and Drivers
      5. Setting Up a Database
      6. Connecting to a Database
      7. Working with Result Sets
      8. Executing SQL Statements
      9. JDBC 2.0 and a New Approach for Updating Records
      10. Chapter Summary
      11. Apply Your Knowledge
    5. Developer Assignment Guide
      1. Introduction
      2. What You Must Do
      3. Planning and Documentation
      4. Assignment Deliverables
      5. Assignment Objective
      6. Assignment Requirements
      7. Design Patterns
      8. Implementation
      9. Chapter Summary
      10. Apply Your Knowledge
  9. Final Review
    1. Fast Facts: BECOMING A SUN CERTIFIED JAVA 2 PROGRAMMER
      1. Chapter 2, “Language Fundamentals”
      2. Chapter 3, “Operators and Assignments”
      3. Chapter 4, “Declarations and Access Control”
      4. Chapter 5, “Flow Control and Exception Handling”
      5. Chapter 6, “Overloading, Overriding, Runtime Type, and Object Orientation”
      6. Chapter 7, “Garbage Collection”
      7. Chapter 8, “Threads”
      8. Chapter 9, “The java.lang Package”
      9. Chapter 10, “The java.util Package”
      10. Chapter 11, “The java.awt Package: Components and Facilities”
      11. Chapter 12, “The java.awt Package: Layout”
      12. Chapter 13, “The java.awt Package: Event Handling”
      13. Chapter 14, “The java.awt Package: Painting”
      14. Chapter 15, “The java.io Package”
    2. Fast Facts: BECOMING A SUN CERTIFIED JAVA 2 DEVELOPER
      1. Chapter 17, “Developing User Interfaces with Swing”
      2. Chapter 18, “Writing Client-Server Applications Using java.net”
      3. Chapter 19, “Accessing Databases Using JDBC”
    3. Study and Exam Prep Tips
      1. Learning as a Process
      2. Study Tips
      3. Exam Prep Tips
    4. Practice Exam: Becoming a Sun Certified Java 2 Programmer
      1. Exam Questions
      2. Answers to Exam Questions
    5. Practice Exam: Becoming a Sun Certified Java 2 Developer
      1. Exam Questions
      2. Answers to Exam Questions
  10. Appendix
    1. What's on the CD-ROM
      1. ExamGear, Training Guide Edition
      2. Exclusive Electronic Version of Text
      3. Copyright Information and Disclaimer
  11. Index

Product information

  • Title: Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams
  • Author(s): Jamie Jaworski
  • Release date: June 2002
  • Publisher(s): Pearson IT Certification
  • ISBN: 9780789727657