Title:
Complete java 2 certification study guide
Personal Author:
Edition:
2nd ed.
Publication Information:
Alameda, CA : Sybex Inc., 2000
Physical Description:
1v + 1 compact disk (CP 1684)
ISBN:
9780782128253
Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000004818591 | QA76.3 R62 2000 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
This revised edition of the market-leading The Complete Java 2 Certification Study Guide offers new information on the developer exam, additional practice questions in the book and on the CD, and bonus coverage of Sun's partner certifications from IBM, Oracle, and Netscape. This Study Guide is the ultimate authority for both the programmer and the developer exams -- the lead author actually helped to develop the exams for Sun. The book is organized according to the official exam objectives and contains hundreds of review and sample-test questions.
Table of Contents
Introduction | p. xxvii |
Part I The Programmer's Exam | p. 1 |
Chapter 1 Language Fundamentals | p. 3 |
Source Files | p. 4 |
Keywords and Identifiers | p. 5 |
Primitive Data Types | p. 7 |
Literals | p. 10 |
Arrays | p. 12 |
Class Fundamentals | p. 15 |
Argument Passing | p. 18 |
Garbage Collection | p. 21 |
Chapter Summary | p. 24 |
Test Yourself | p. 26 |
Chapter 2 Operators and Assignments | p. 31 |
Evaluation Order | p. 33 |
The Unary Operators | p. 34 |
The Arithmetic Operators | p. 38 |
The Shift Operators: [[, ]], and ]]] | p. 45 |
The Comparison Operators | p. 51 |
The Bitwise Operators: and, ^, and | | p. 56 |
The Short-Circuit Logical Operators | p. 61 |
The Conditional Operator: ?: | p. 64 |
The Assignment Operators | p. 65 |
Chapter Summary | p. 67 |
Test Yourself | p. 70 |
Chapter 3 Modifiers | p. 75 |
Modifier Overview | p. 76 |
The Access Modifiers | p. 76 |
Other Modifiers | p. 84 |
Modifiers and Features | p. 94 |
Chapter Summary | p. 95 |
Test Yourself | p. 96 |
Chapter 4 Converting and Casting | p. 103 |
Explicit and Implicit Type Changes | p. 104 |
Primitives and Conversion | p. 105 |
Primitives and Casting | p. 112 |
Object Reference Conversion | p. 114 |
Object Reference Casting | p. 119 |
Chapter Summary | p. 125 |
Test Yourself | p. 126 |
Chapter 5 Flow Control and Exceptions | p. 133 |
The Loop Constructs | p. 134 |
The Selection Statements | p. 142 |
Exceptions | p. 144 |
Chapter Summary | p. 157 |
Test Yourself | p. 160 |
Chapter 6 Objects and Classes | p. 169 |
Benefits of Object-Oriented Implementation | p. 170 |
Implementing Object-Oriented Relationships | p. 173 |
Overloading and Overriding | p. 174 |
Constructors and Subclassing | p. 184 |
Inner Classes | p. 188 |
Chapter Summary | p. 200 |
Test Yourself | p. 204 |
Chapter 7 Threads | p. 211 |
Thread Fundamentals | p. 212 |
Controlling Threads | p. 218 |
Monitors, wait(), and notify() | p. 226 |
Chapter Summary | p. 241 |
Test Yourself | p. 243 |
Chapter 8 The java.lang and java.util Packages | p. 247 |
The Object Class | p. 248 |
The Math Class | p. 249 |
The Wrapper Classes | p. 251 |
Strings | p. 255 |
The Collections API | p. 264 |
Chapter Summary | p. 276 |
Test Yourself | p. 277 |
Chapter 9 Layout Managers | p. 281 |
Why Java Uses Layout Managers | p. 283 |
Layout Manager Theory | p. 284 |
Layout Policies | p. 292 |
Controlling the Cell Size for a Component | p. 325 |
GridBag's Shorthand | p. 329 |
Other Layout Options | p. 332 |
Improving Your Chances | p. 333 |
Chapter Summary | p. 333 |
Test Yourself | p. 334 |
Chapter 10 Events | p. 345 |
Motivation for the Event Delegation Model | p. 346 |
The Event Class Hierarchy | p. 347 |
Semantic Events | p. 349 |
Event Listeners | p. 350 |
Explicit Event Enabling | p. 354 |
Adapters | p. 356 |
Action Commands | p. 358 |
Chapter Summary | p. 360 |
Test Yourself | p. 361 |
Chapter 11 Components | p. 367 |
Components in General | p. 368 |
The Visual Components | p. 370 |
The Container Components | p. 386 |
The Menu Components | p. 390 |
Chapter Summary | p. 393 |
Test Yourself | p. 394 |
Chapter 12 Painting | p. 399 |
The paint() Method and the Graphics Context | p. 400 |
The GUI Thread and the repaint() Method | p. 420 |
Images | p. 426 |
Chapter Summary | p. 431 |
Test Yourself | p. 432 |
Chapter 13 Input and Output | p. 437 |
File Input and Output | p. 438 |
Streams, Readers, and Writers | p. 448 |
Sockets | p. 465 |
Chapter Summary | p. 469 |
Test Yourself | p. 470 |
Part II The Developer's Exam | p. 475 |
Chapter 14 Taking the Developer's Exam | p. 477 |
Are You Ready for the Exam? | p. 479 |
Formalities of the Exam | p. 481 |
Chapter 15 Assignment: Room Reservation System | p. 491 |
Structure of the Assignment | p. 492 |
Business Scenario | p. 494 |
Project Specifics | p. 495 |
Code and APIs Provided | p. 495 |
Functional Goals | p. 497 |
Other Requirements | p. 502 |
Chapter 16 Enhancing and Extending the Database | p. 507 |
Two-Tier Databases | p. 508 |
Designing a Basic Scheme | p. 510 |
Issues in Implementation | p. 521 |
Chapter Summary | p. 533 |
Chapter 17 Writing the Network Protocol | p. 535 |
Client-Server from Scratch | p. 537 |
Remote Method Invocation (RMI) | p. 555 |
More on Threads | p. 565 |
Chapter Summary | p. 573 |
Chapter 18 Designing the User Interface | p. 575 |
Defining the GUI's Requirements | p. 577 |
Using Swing | p. 582 |
Using Layout Managers | p. 588 |
Event Handling and Style | p. 597 |
Event Handling and Threads | p. 601 |
Chapter Summary | p. 603 |
Chapter 19 A Second Example: A Trouble-Ticket System | p. 605 |
More on Exam Requirements | p. 607 |
Assignment: Build a Trouble-Ticket System | p. 609 |
GUI Development | p. 612 |
Database/Server Development | p. 613 |
Client-Server Logic | p. 615 |
Delivering the Finished Assignment | p. 616 |
Chapter 20 GUI Prototyping | p. 617 |
Events and Properties | p. 618 |
Building a JTable | p. 625 |
Building a JTree | p. 634 |
JMenus, JButtons, and Actions | p. 640 |
Panes | p. 643 |
Final Thoughts on Code Style | p. 647 |
Chapter 21 Building the Database Server | p. 651 |
Database Requirements | p. 652 |
Record Locking | p. 667 |
Chapter Summary | p. 670 |
Chapter 22 Connecting Client and Server | p. 671 |
Notification Basics | p. 673 |
Using JavaBean Conventions | p. 676 |
Remote Notification | p. 683 |
Using Distributed Notification | p. 685 |
Chapter Summary | p. 686 |
Chapter 23 Preparing the Upload | p. 689 |
Submission Requirements | p. 690 |
Using javadoc | p. 692 |
File Structure | p. 693 |
Writing the README file | p. 695 |
Using the jar Tool | p. 696 |
Chapter Summary | p. 698 |
Chapter 24 Thinking About the Follow-Up Exam | p. 699 |
Preparation Questions | p. 700 |
Chapter Summary | p. 711 |
Part III Appendices | p. 713 |
Appendix A Answers to Test Yourself Questions | p. 715 |
Appendix B Programmer's Final Exam | p. 803 |
Appendix C Using the Test Program | p. 839 |
The Real Test | p. 840 |
The Supporting Instructions | p. 842 |
The Tester | p. 844 |
Running the Tester | p. 846 |
Answering the Questions | p. 847 |
Appendix D The Certification Initiative for Enterprise Development | p. 849 |
The Structure of the Initiative | p. 850 |
The Second-Level Exams | p. 851 |
The Third-Level Exams | p. 861 |
Index | p. 867 |