Complete Java 2 Certification Study Guide, Third Edition / Edition 3

Complete Java 2 Certification Study Guide, Third Edition / Edition 3

by Philip Heller
     
 

ISBN-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
Authoritative coverage of all Programmer's exam objectives, including:
  • 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
Authoritative coverage of all Programmer's exam objectives, including:
  • 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
In-depth coverage of the topics covered in the Developer's exam, including:
  • 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

Introductionxxiii
Part IThe Programmer's Exam1
Chapter 1Language Fundamentals3
Source Files5
Keywords and Identifiers7
Primitive Data Types8
Literals10
Arrays13
Class Fundamentals16
Argument Passing18
Garbage Collection21
Exam Essentials24
Chapter Summary25
Test Yourself27
Chapter 2Operators and Assignments31
Evaluation Order33
The Unary Operators34
The Arithmetic Operators38
The Shift Operators: <<, >>, and >>>46
The Comparison Operators52
The Bitwise Operators: &, ^, and |56
The Short-Circuit Logical Operators61
The Conditional Operator: ?:64
The Assignment Operators65
Exam Essentials67
Chapter Summary68
Test Yourself72
Chapter 3Modifiers77
Modifier Overview78
The Access Modifiers79
Other Modifiers86
Modifiers and Features95
Exam Essentials96
Chapter Summary98
Test Yourself99
Chapter 4Converting and Casting105
Explicit and Implicit Type Changes106
Primitives and Conversion107
Primitives and Casting114
Object Reference Conversion117
Object Reference Casting121
Exam Essentials126
Chapter Summary128
Test Yourself129
Chapter 5Flow Control, Exceptions, and Assertions135
The Loop Constructs137
The Selection Statements144
Exceptions147
Assertions159
Exam Essentials163
Chapter Summary165
Test Yourself169
Chapter 6Objects and Classes179
Benefits of Object-Oriented Implementation180
Implementing Object-Oriented Relationships183
Overloading and Overriding184
Constructors and Subclassing195
Inner Classes198
Exam Essentials209
Chapter Summary211
Test Yourself214
Chapter 7Threads221
Thread Fundamentals222
Controlling Threads229
Monitors, wait(), and notify()236
Exam Essentials251
Summary253
Test Yourself254
Chapter 8The java.lang and java.util Packages259
The Object Class260
The Math Class262
The Wrapper Classes263
Strings268
The Collections API276
Exam Essentials289
Summary291
Test Yourself292
Chapter 9Input and Output295
File Input and Output296
Streams, Readers, and Writers306
Sockets322
Exam Essentials325
Chapter Summary327
Test Yourself328
Part IIThe Developer's Exam333
Chapter 10Taking the Developer's Exam335
Are You Ready for the Exam?337
Formalities of the Exam339
Chapter 11Swing Components and Events345
Common Methods346
Events348
Basic Swing Components349
Summary364
Chapter 12Layout Managers365
Layout Manager Theory366
Layout Policies372
Other Layout Options409
Summary410
Chapter 13Assignment: Room Reservation System411
Structure of the Assignment412
Business Scenario414
Project Specifics415
Code and APIs Provided415
Functional Goals417
Other Requirements422
Chapter 14Enhancing and Extending the Database425
Two-Tier Databases426
Designing a Basic Scheme428
Issues in Implementation439
Summary451
Chapter 15Writing the Network Protocol453
Client-Server from Scratch455
Remote Method Invocation (RMI)472
More on Threads481
Summary490
Chapter 16Designing the User Interface491
Defining the GUI's Requirements493
Using Swing498
Event Handling and Style513
Event Handling and Threads517
Summary519
Chapter 17A Second Example: A Trouble-Ticket System521
Assignment: Build a Trouble-Ticket System523
GUI Development526
Database/Server Development527
Client-Server Logic529
Delivering the Finished Assignment529
Chapter 18GUI Prototyping531
Events and Properties532
Building a JTable539
Building a JTree547
JMenus, JButtons, and Actions553
Panes556
Final Thoughts on Code Style560
Chapter 19Building the Database Server563
Database Requirements564
Record Locking579
Summary582
Chapter 20Connecting Client and Server583
Notification Basics585
Using Java Bean Conventions587
Remote Notification595
Using Distributed Notification596
Summary597
Chapter 21Preparing the Upload599
Submission Requirements600
Using javadoc603
File Structure604
Writing the README file606
Using the JAR Tool607
Summary609
Chapter 22The Follow-Up Exam611
Preparation Questions612
Summary623
Part IIIAppendices625
Appendix AAnswers to Test Yourself Questions627
Chapter 1 Test Yourself628
Chapter 2 Test Yourself632
Chapter 3 Test Yourself640
Chapter 4 Test Yourself647
Chapter 5 Test Yourself652
Chapter 6 Test Yourself664
Chapter 7 Test Yourself672
Chapter 8 Test Yourself676
Chapter 9 Test Yourself680
Appendix BProgrammer's Final Exam687
Answers to Programmer's Final Exam712
Appendix COther Java Exams719
The Web Component Exam720
The Architect's Exam728
Appendix DThe Certification Initiative for Enterprise Development733
The Structure of the Initiative734
The Second-Level Exams735
The Third-Level Exams745
Appendix EUsing the Test Program751
The Real Test752
The Supporting Instructions753
The Tester755
Running the Tester756
Answering the Questions756
Index759

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >