You are previewing Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035).
O'Reilly logo
Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035)

Book Description

This exam measures the ability to design, write, and understand programs written in language version 1.4 of the Java 2 Platform. The programmer¿s exam concentrates on the language basics. This book is not intended to teach new material. Instead it assumes that you have a solid foundation of knowledge but can use a refresher on important concepts as well as a guide to exam topics and objectives. This book focuses exactly on what you need to pass the exam - it features test-taking strategies, time-saving study tips, and a special Cram Sheet that includes tips, acronyms, and memory joggers not available anywhere else. The series is supported online at several Web sites: examcram.com, informit.com, and cramsession.com.

The accompanying CD features PrepLogic™ Practice Tests, Preview Edition. This product includes one complete PrepLogic Practice Test with approximately the same number of questions found on the actual vendor exam. Each question contains full, detailed explanations of the correct and incorrect answers. The engine offers two study modes, Practice Test and Flash Review, full exam customization, and a detailed score report.

Table of Contents

  1. Copyright
  2. The Java 2 Programmer Cram Sheet
  3. A Note from Series Editor Ed Tittel
  4. About the Authors
  5. About the Technical Editors
  6. Acknowledgments
  7. We Want to Hear from You!
  8. Objectives Map
  9. Introduction
  10. Self-Assessment
  11. Java and the Sun Certification Test
    1. Introduction
    2. Assessing Exam-Readiness
    3. Preparing for the Test
    4. The Test Environment
    5. The Test Objectives
    6. What Happens When You Pass?
    7. Study Resources
    8. Notes on Java's History
  12. Language Fundamentals
    1. Introduction
    2. Structure of Java Programs
    3. Java Reserved Words and Keywords
    4. Identifiers
    5. The Java Interpreter and the JVM
    6. Variables and Data Types in Java
    7. Arrays
    8. Program Conventions
    9. Using Java Tools and Documentation
    10. Exam Prep Practice Questions
    11. Need to Know More?
  13. Java Operators with Primitives and Objects
    1. Introduction
    2. Using Literals
    3. Numeric Operators
    4. String Objects and the + Operator
    5. Bitwise and Logical Operators
    6. Testing Object Equality
    7. Array Initialization
    8. Exam Prep Practice Questions
    9. Need to Know More?
  14. Creating Java Classes
    1. Introduction
    2. Defining a Class
    3. Class Members
    4. Interfaces
    5. Exam Prep Practice Questions
    6. Need to Know More?
  15. Nested Classes
    1. Introduction
    2. Nested and Inner Classes
    3. Static Nested Classes
    4. Accessing Nested Classes from Outside
    5. Exam Prep Practice Questions
    6. Need to Know More?
  16. Converting and Casting Primitives and Objects
    1. Introduction
    2. Converting and Casting Primitives
    3. Converting and Casting Reference Types
    4. Exam Prep Practice Questions
    5. Need to Know More?
  17. Flow Control
    1. Introduction
    2. Boolean Expressions
    3. No goto in Java Flow Control
    4. The if-else Structure
    5. The switch-case Structure
    6. The for Loop Structure
    7. Using while and do
    8. Exam Prep Practice Questions
    9. Need to Know More?
  18. Exceptions and Assertions
    1. Introduction
    2. Exceptions
    3. Using Assertions
    4. Exam Prep Practice Questions
    5. Need to Know More?
  19. Working with Java Classes and Objects
    1. Introduction
    2. Object-Oriented Design
    3. Overloading and Overriding
    4. Object Garbage
    5. Exam Prep Practice Questions
    6. Need to Know More?
  20. Java Threads
    1. Introduction
    2. Thread Background
    3. The Thread Class
    4. Synchronizing Threads
    5. Exam Prep Practice Questions
    6. Need to Know More?
  21. Standard Library Utility Classes
    1. Introduction
    2. Utility Classes in the java.lang Package
    3. The java.math Package
    4. The Reflection Package
    5. Utility Classes in the java.util Package
    6. Exam Prep Practice Questions
    7. Need to Know More?
  22. The Collection Classes
    1. The Original Collections
    2. The New Collections
    3. Collections New with JDK 1.4
    4. Exam Prep Practice Questions
    5. Need to Know More?
  23. Sample Test One
    1. Practice Exam
  24. Answer Key for Sample Test One
  25. Sample Test Two
  26. Answer Key for Sample Test Two
  27. List of Resources
    1. Official Java Resources from Sun Microsystems
    2. Java Developer's Connection
    3. The Official Java Certification Site
    4. The Authors' Sites
    5. Web Sites with Exam-Related Resources
    6. Web Sites with General Resources
  28. List of Products, Vendors, and Technologies
    1. Exam Simulators
    2. Books
  29. What's on the CD-ROM
    1. The PrepLogic Practice Exams, Preview Edition
    2. An Exclusive Electronic Version of the Text
  30. Using the PrepLogic Practice Exams, Preview Edition Software
    1. The Exam Simulation
    2. Software Requirements
    3. Installing PrepLogic Practice Exams, Preview Edition
    4. Removing PrepLogic Practice Exams, Preview Edition, from Your Computer
    5. Using PrepLogic Practice Exams, Preview Edition
    6. Contacting PrepLogic
    7. License Agreement
  31. Glossary
  32. Index