Complete Java 2 Certification Study Guide, Third Edition / Edition 3
by Philip HellerISBN-10: 0782140777
ISBN-13: 9780782140774
Pub. Date: 07/26/2002
Publisher: Sybex, Incorporated
This Study Guide provides:
- In-depth coverage of every exam objective for the revised Programmer's Exam for J2SE 1.4
- Hundreds of challenging practice questions, in the book and on the CD
- Leading-edge exam preparation software
- Language fundamentals
- Operators and
Overview
This Study Guide provides:
- In-depth coverage of every exam objective for the revised Programmer's Exam for J2SE 1.4
- Hundreds of challenging practice questions, in the book and on the CD
- Leading-edge exam preparation software
- Language fundamentals
- Operators and assignments
- Modifiers
- Converting and casting
- Flow control, exceptions, and assertions
- Objects and classes
- Threads
- The java.lang and java.util packages
- Input and output
- Swing components and events
- Layout managers
- Enhancing and extending the database
- Writing the network protocol
- Designing the user interface
- GUI prototyping
- Building the database server
- Connecting the client and server
- Preparing the upload
Product Details
- ISBN-13:
- 9780782140774
- Publisher:
- Sybex, Incorporated
- Publication date:
- 07/26/2002
- Edition description:
- Student Manual, Study Guide, etc.
- Pages:
- 816
- Product dimensions:
- 7.76(w) x 9.06(h) x 1.90(d)
Table of Contents
| Introduction | xxiii | |
| Part I | The Programmer's Exam | 1 |
| Chapter 1 | Language Fundamentals | 3 |
| Source Files | 5 | |
| Keywords and Identifiers | 7 | |
| Primitive Data Types | 8 | |
| Literals | 10 | |
| Arrays | 13 | |
| Class Fundamentals | 16 | |
| Argument Passing | 18 | |
| Garbage Collection | 21 | |
| Exam Essentials | 24 | |
| Chapter Summary | 25 | |
| Test Yourself | 27 | |
| Chapter 2 | Operators and Assignments | 31 |
| Evaluation Order | 33 | |
| The Unary Operators | 34 | |
| The Arithmetic Operators | 38 | |
| The Shift Operators: <<, >>, and >>> | 46 | |
| The Comparison Operators | 52 | |
| The Bitwise Operators: &, ^, and | | 56 | |
| The Short-Circuit Logical Operators | 61 | |
| The Conditional Operator: ?: | 64 | |
| The Assignment Operators | 65 | |
| Exam Essentials | 67 | |
| Chapter Summary | 68 | |
| Test Yourself | 72 | |
| Chapter 3 | Modifiers | 77 |
| Modifier Overview | 78 | |
| The Access Modifiers | 79 | |
| Other Modifiers | 86 | |
| Modifiers and Features | 95 | |
| Exam Essentials | 96 | |
| Chapter Summary | 98 | |
| Test Yourself | 99 | |
| Chapter 4 | Converting and Casting | 105 |
| Explicit and Implicit Type Changes | 106 | |
| Primitives and Conversion | 107 | |
| Primitives and Casting | 114 | |
| Object Reference Conversion | 117 | |
| Object Reference Casting | 121 | |
| Exam Essentials | 126 | |
| Chapter Summary | 128 | |
| Test Yourself | 129 | |
| Chapter 5 | Flow Control, Exceptions, and Assertions | 135 |
| The Loop Constructs | 137 | |
| The Selection Statements | 144 | |
| Exceptions | 147 | |
| Assertions | 159 | |
| Exam Essentials | 163 | |
| Chapter Summary | 165 | |
| Test Yourself | 169 | |
| Chapter 6 | Objects and Classes | 179 |
| Benefits of Object-Oriented Implementation | 180 | |
| Implementing Object-Oriented Relationships | 183 | |
| Overloading and Overriding | 184 | |
| Constructors and Subclassing | 195 | |
| Inner Classes | 198 | |
| Exam Essentials | 209 | |
| Chapter Summary | 211 | |
| Test Yourself | 214 | |
| Chapter 7 | Threads | 221 |
| Thread Fundamentals | 222 | |
| Controlling Threads | 229 | |
| Monitors, wait(), and notify() | 236 | |
| Exam Essentials | 251 | |
| Summary | 253 | |
| Test Yourself | 254 | |
| Chapter 8 | The java.lang and java.util Packages | 259 |
| The Object Class | 260 | |
| The Math Class | 262 | |
| The Wrapper Classes | 263 | |
| Strings | 268 | |
| The Collections API | 276 | |
| Exam Essentials | 289 | |
| Summary | 291 | |
| Test Yourself | 292 | |
| Chapter 9 | Input and Output | 295 |
| File Input and Output | 296 | |
| Streams, Readers, and Writers | 306 | |
| Sockets | 322 | |
| Exam Essentials | 325 | |
| Chapter Summary | 327 | |
| Test Yourself | 328 | |
| Part II | The Developer's Exam | 333 |
| Chapter 10 | Taking the Developer's Exam | 335 |
| Are You Ready for the Exam? | 337 | |
| Formalities of the Exam | 339 | |
| Chapter 11 | Swing Components and Events | 345 |
| Common Methods | 346 | |
| Events | 348 | |
| Basic Swing Components | 349 | |
| Summary | 364 | |
| Chapter 12 | Layout Managers | 365 |
| Layout Manager Theory | 366 | |
| Layout Policies | 372 | |
| Other Layout Options | 409 | |
| Summary | 410 | |
| Chapter 13 | Assignment: Room Reservation System | 411 |
| Structure of the Assignment | 412 | |
| Business Scenario | 414 | |
| Project Specifics | 415 | |
| Code and APIs Provided | 415 | |
| Functional Goals | 417 | |
| Other Requirements | 422 | |
| Chapter 14 | Enhancing and Extending the Database | 425 |
| Two-Tier Databases | 426 | |
| Designing a Basic Scheme | 428 | |
| Issues in Implementation | 439 | |
| Summary | 451 | |
| Chapter 15 | Writing the Network Protocol | 453 |
| Client-Server from Scratch | 455 | |
| Remote Method Invocation (RMI) | 472 | |
| More on Threads | 481 | |
| Summary | 490 | |
| Chapter 16 | Designing the User Interface | 491 |
| Defining the GUI's Requirements | 493 | |
| Using Swing | 498 | |
| Event Handling and Style | 513 | |
| Event Handling and Threads | 517 | |
| Summary | 519 | |
| Chapter 17 | A Second Example: A Trouble-Ticket System | 521 |
| Assignment: Build a Trouble-Ticket System | 523 | |
| GUI Development | 526 | |
| Database/Server Development | 527 | |
| Client-Server Logic | 529 | |
| Delivering the Finished Assignment | 529 | |
| Chapter 18 | GUI Prototyping | 531 |
| Events and Properties | 532 | |
| Building a JTable | 539 | |
| Building a JTree | 547 | |
| JMenus, JButtons, and Actions | 553 | |
| Panes | 556 | |
| Final Thoughts on Code Style | 560 | |
| Chapter 19 | Building the Database Server | 563 |
| Database Requirements | 564 | |
| Record Locking | 579 | |
| Summary | 582 | |
| Chapter 20 | Connecting Client and Server | 583 |
| Notification Basics | 585 | |
| Using Java Bean Conventions | 587 | |
| Remote Notification | 595 | |
| Using Distributed Notification | 596 | |
| Summary | 597 | |
| Chapter 21 | Preparing the Upload | 599 |
| Submission Requirements | 600 | |
| Using javadoc | 603 | |
| File Structure | 604 | |
| Writing the README file | 606 | |
| Using the JAR Tool | 607 | |
| Summary | 609 | |
| Chapter 22 | The Follow-Up Exam | 611 |
| Preparation Questions | 612 | |
| Summary | 623 | |
| Part III | Appendices | 625 |
| Appendix A | Answers to Test Yourself Questions | 627 |
| Chapter 1 Test Yourself | 628 | |
| Chapter 2 Test Yourself | 632 | |
| Chapter 3 Test Yourself | 640 | |
| Chapter 4 Test Yourself | 647 | |
| Chapter 5 Test Yourself | 652 | |
| Chapter 6 Test Yourself | 664 | |
| Chapter 7 Test Yourself | 672 | |
| Chapter 8 Test Yourself | 676 | |
| Chapter 9 Test Yourself | 680 | |
| Appendix B | Programmer's Final Exam | 687 |
| Answers to Programmer's Final Exam | 712 | |
| Appendix C | Other Java Exams | 719 |
| The Web Component Exam | 720 | |
| The Architect's Exam | 728 | |
| Appendix D | The Certification Initiative for Enterprise Development | 733 |
| The Structure of the Initiative | 734 | |
| The Second-Level Exams | 735 | |
| The Third-Level Exams | 745 | |
| Appendix E | Using the Test Program | 751 |
| The Real Test | 752 | |
| The Supporting Instructions | 753 | |
| The Tester | 755 | |
| Running the Tester | 756 | |
| Answering the Questions | 756 | |
| Index | 759 |
Customer Reviews
Average Review: