本书主要介绍Java 2认证考试涉及的全面内容,并提供了大量的实验题和复习题。本书首先概括地介绍了Java 2语言基础,然后依次介绍了操作数和算法、修改器、转换、流控制和异常、对象和类、线程以及java.lang和java.util包。另外,因为本书是一本学习指南,所以本书中还提供了大量的模拟试题,通过这些试题,读者可以进一步加深与巩固所学的知识。
Introduction
Assessment Test
Part I The programmer's Exam
Chapter 1 Language Fundamentals
Source Files
Keywords and Identifiers
Primitive Data Types
Literals
Arrays
Class Fundamentals
Argument Passing: By Reference or By Value
Garbage Collection
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chapter 2 operators and Assignments
Evaluation Order
The Unary Operators
The Arithmetic Operators
The Shift Operators; <<,>>,and >>>
The Comparison Operators
The Bitwise Operators: &,^,and|
The Short-Circuit Logical Operators
The Conditional Operator:?:
The Assignment Operators
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chapter 3 Modifiers
Modifier Overview
The Access Modifiers
Other Modifiers
Modifiers and Features
Summary
Exam Essentials
Key Terms
Review Questions
Asnwers to REview Questions
Chapter 4 Converting and Casting
Explicit and Implicit Type Changes
Primitives and Conversion
Primitives and Casting
Object Reference Conversion
Object REference Casting
Summary
Exam Essentials
Key Terms
Review Questions
Answer to Review Questions
Chapter 5 Flow Control Assertions, and Exception Handling
The Loop Constructs
The Selection Statements
Exceptions
Assertions
Summary
Exam Essentials
Key Terms
Review Quiestions
Answers to REview Questions
Chapter 6 Object and Classes
Benefits of Object-Oriented Implementation
Implementing Object-Oriented RElationships
Overloading and Overriding
Constructors and Subclassing
Inner Classes
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chatper 7 Threads
Thread Fundamentals
Controlling Threads
Monitors, wait(), and notify()
Summary
Exam Essentials
Key Terms
Review Questions
Answer to Review Questions
Chapter 8 The java.lang and java.util Package
The Object Class
The Math Class
The Wrapper Classes
Strings
The Collections API
Summary
Exam Essentials
Key Terms
Review Questions
Answers to Review Questions
Part II The Developer's Exam
Chapter 9 Taking the Developer's Exam
Are You REady for the Exam?
Formalities of the Exam
Structure of teh Assignment
Example Assignment: Build a Trouble-Ticket System
Coding Tips
Submission Requirements
Preparatoin for the Follow-up Exam
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chapter 10 Creating the User Interface with Swing
Defining the GUI's Requirements
Common Swing Methods
Basic Swing Components
Building a JTable
Building a JTree
Jmerus and Actions
Panes
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chapter 11 Layout Managers
Layout Manager Theory
Layout Policies
Other Layout Options
Summary
Exam Essentials
Key Terms
Review Questions
Answers to Review Questions
Chatper 12 Writing the Network Protocol
Client-Server from Scratch
Remote Method Invocatoin(RMI)
More on Threads
Summary
Exam Essentials
Key Terms
Review Questions
Answers to REview Questions
Chapter 13 Connecting Client and Server
Events Basics
Using Java Bean Conventions
Java Beans and the MVC Design Pattern
Listeners
Remote Notification
Using Distributed Notification
Summary
Exam Essentials
Key Terms
Review Questions
Answers to Review Questions
Chapter 14 Enhancing and Extending the Database
Two-Tier Databases
Designing a Basic Scheme
Issues in Implementation
Summary
Exam Essentials
Key Terms
Review questions
Answers to REview Questions
Chapter 15 Building the Database Server
Database Requirements
Record Locking
Summary
Exam Essentials
Key Terms
Review Questins
Answers to REview Questions
Practice Exam
Answers to Practices Exam
Glossary
To Our Valued Readers:
Thank you for looking to Sybex for your Java 2 certification exam prep needs. We at Sybex are pround of the reputation we've established for providing certification candidates with the practical knowledge and skills needed to succeed in the highly competitive IT marketplace. Sybex has helped thousands of Java certification candidates prepare for their exams over the years,and we are excited about having the continued opportunity to provide IT professionals with the most essential programming and development skills.
With its latest 1.4 release of the Java 2 program, Sun has raised the bar for programmers yet again. Certification in this program demonstrates proficiency in the fundamentals of the Java programming language using the Java 2 Platform-indeed an invaluable skill and neccessary to advance your career in today's ever changing programming market.
The authors and editors have worked hard to ensure that the Study Guide you hold in your hand is comprehensive, in-depth, and pedagogically sound. We're confident that this book will exceed the deamanding standards of the certification marketplace and help you, the Java 2 certificatoin candidate, succeed in your endeavors.
As always, your feedback is important to us. Please send comments. questions, or suggestions to support@sybex.com. At Sybex we're continually striving to meet the needs of individuals preparing for IT certification exams.
Good luck in pursuit of your Java 2 certification!