Cover image for Complete java 2 certification study guide
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

Introductionp. xxvii
Part I The Programmer's Examp. 1
Chapter 1 Language Fundamentalsp. 3
Source Filesp. 4
Keywords and Identifiersp. 5
Primitive Data Typesp. 7
Literalsp. 10
Arraysp. 12
Class Fundamentalsp. 15
Argument Passingp. 18
Garbage Collectionp. 21
Chapter Summaryp. 24
Test Yourselfp. 26
Chapter 2 Operators and Assignmentsp. 31
Evaluation Orderp. 33
The Unary Operatorsp. 34
The Arithmetic Operatorsp. 38
The Shift Operators: [[, ]], and ]]]p. 45
The Comparison Operatorsp. 51
The Bitwise Operators: and, ^, and |p. 56
The Short-Circuit Logical Operatorsp. 61
The Conditional Operator: ?:p. 64
The Assignment Operatorsp. 65
Chapter Summaryp. 67
Test Yourselfp. 70
Chapter 3 Modifiersp. 75
Modifier Overviewp. 76
The Access Modifiersp. 76
Other Modifiersp. 84
Modifiers and Featuresp. 94
Chapter Summaryp. 95
Test Yourselfp. 96
Chapter 4 Converting and Castingp. 103
Explicit and Implicit Type Changesp. 104
Primitives and Conversionp. 105
Primitives and Castingp. 112
Object Reference Conversionp. 114
Object Reference Castingp. 119
Chapter Summaryp. 125
Test Yourselfp. 126
Chapter 5 Flow Control and Exceptionsp. 133
The Loop Constructsp. 134
The Selection Statementsp. 142
Exceptionsp. 144
Chapter Summaryp. 157
Test Yourselfp. 160
Chapter 6 Objects and Classesp. 169
Benefits of Object-Oriented Implementationp. 170
Implementing Object-Oriented Relationshipsp. 173
Overloading and Overridingp. 174
Constructors and Subclassingp. 184
Inner Classesp. 188
Chapter Summaryp. 200
Test Yourselfp. 204
Chapter 7 Threadsp. 211
Thread Fundamentalsp. 212
Controlling Threadsp. 218
Monitors, wait(), and notify()p. 226
Chapter Summaryp. 241
Test Yourselfp. 243
Chapter 8 The java.lang and java.util Packagesp. 247
The Object Classp. 248
The Math Classp. 249
The Wrapper Classesp. 251
Stringsp. 255
The Collections APIp. 264
Chapter Summaryp. 276
Test Yourselfp. 277
Chapter 9 Layout Managersp. 281
Why Java Uses Layout Managersp. 283
Layout Manager Theoryp. 284
Layout Policiesp. 292
Controlling the Cell Size for a Componentp. 325
GridBag's Shorthandp. 329
Other Layout Optionsp. 332
Improving Your Chancesp. 333
Chapter Summaryp. 333
Test Yourselfp. 334
Chapter 10 Eventsp. 345
Motivation for the Event Delegation Modelp. 346
The Event Class Hierarchyp. 347
Semantic Eventsp. 349
Event Listenersp. 350
Explicit Event Enablingp. 354
Adaptersp. 356
Action Commandsp. 358
Chapter Summaryp. 360
Test Yourselfp. 361
Chapter 11 Componentsp. 367
Components in Generalp. 368
The Visual Componentsp. 370
The Container Componentsp. 386
The Menu Componentsp. 390
Chapter Summaryp. 393
Test Yourselfp. 394
Chapter 12 Paintingp. 399
The paint() Method and the Graphics Contextp. 400
The GUI Thread and the repaint() Methodp. 420
Imagesp. 426
Chapter Summaryp. 431
Test Yourselfp. 432
Chapter 13 Input and Outputp. 437
File Input and Outputp. 438
Streams, Readers, and Writersp. 448
Socketsp. 465
Chapter Summaryp. 469
Test Yourselfp. 470
Part II The Developer's Examp. 475
Chapter 14 Taking the Developer's Examp. 477
Are You Ready for the Exam?p. 479
Formalities of the Examp. 481
Chapter 15 Assignment: Room Reservation Systemp. 491
Structure of the Assignmentp. 492
Business Scenariop. 494
Project Specificsp. 495
Code and APIs Providedp. 495
Functional Goalsp. 497
Other Requirementsp. 502
Chapter 16 Enhancing and Extending the Databasep. 507
Two-Tier Databasesp. 508
Designing a Basic Schemep. 510
Issues in Implementationp. 521
Chapter Summaryp. 533
Chapter 17 Writing the Network Protocolp. 535
Client-Server from Scratchp. 537
Remote Method Invocation (RMI)p. 555
More on Threadsp. 565
Chapter Summaryp. 573
Chapter 18 Designing the User Interfacep. 575
Defining the GUI's Requirementsp. 577
Using Swingp. 582
Using Layout Managersp. 588
Event Handling and Stylep. 597
Event Handling and Threadsp. 601
Chapter Summaryp. 603
Chapter 19 A Second Example: A Trouble-Ticket Systemp. 605
More on Exam Requirementsp. 607
Assignment: Build a Trouble-Ticket Systemp. 609
GUI Developmentp. 612
Database/Server Developmentp. 613
Client-Server Logicp. 615
Delivering the Finished Assignmentp. 616
Chapter 20 GUI Prototypingp. 617
Events and Propertiesp. 618
Building a JTablep. 625
Building a JTreep. 634
JMenus, JButtons, and Actionsp. 640
Panesp. 643
Final Thoughts on Code Stylep. 647
Chapter 21 Building the Database Serverp. 651
Database Requirementsp. 652
Record Lockingp. 667
Chapter Summaryp. 670
Chapter 22 Connecting Client and Serverp. 671
Notification Basicsp. 673
Using JavaBean Conventionsp. 676
Remote Notificationp. 683
Using Distributed Notificationp. 685
Chapter Summaryp. 686
Chapter 23 Preparing the Uploadp. 689
Submission Requirementsp. 690
Using javadocp. 692
File Structurep. 693
Writing the README filep. 695
Using the jar Toolp. 696
Chapter Summaryp. 698
Chapter 24 Thinking About the Follow-Up Examp. 699
Preparation Questionsp. 700
Chapter Summaryp. 711
Part III Appendicesp. 713
Appendix A Answers to Test Yourself Questionsp. 715
Appendix B Programmer's Final Examp. 803
Appendix C Using the Test Programp. 839
The Real Testp. 840
The Supporting Instructionsp. 842
The Testerp. 844
Running the Testerp. 846
Answering the Questionsp. 847
Appendix D The Certification Initiative for Enterprise Developmentp. 849
The Structure of the Initiativep. 850
The Second-Level Examsp. 851
The Third-Level Examsp. 861
Indexp. 867