Skip to content

Mike Meyers' Java 2 Certification Passport (Exam 310-025)

Best in textbook rentals since 2012!

ISBN-10: 0072193662

ISBN-13: 9780072193664

Edition: 2002

Authors: Phillip Hanna, Kathy Sierra, Jane Griscti, Cindy Glass, Margarita Isayeva

List price: $29.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Customers also bought

Book details

List price: $29.99
Copyright year: 2002
Publisher: McGraw-Hill Osborne
Publication date: 10/26/2001
Binding: Mixed Media
Pages: 480
Size: 6.00" wide x 8.50" long x 1.25" tall
Weight: 1.496
Language: English

Check-Inp. xv
Basic Language Rules and OOP Conceptsp. 1
Language Fundamentalsp. 3
Identify Correctly Constructed Source Files and Declarationsp. 4
Organizing Java Source Filesp. 5
The Structure of a Java Source Filep. 6
Defined Typesp. 11
Top-Level Type Declarationsp. 16
Inner Type Declarationsp. 18
Initalization Blocksp. 20
Field Declarationsp. 21
Method Declarationsp. 22
State the Correspondence Between main () and Command-Line Argumentsp. 30
main() and Command-Line Argumentsp. 30
Java Language Keywordsp. 31
Identifiersp. 32
State Effect of Using a Variable or Array Element When No Explicit Assignment Is Madep. 32
Variables Declared as Fieldsp. 33
Variables Declared Within Methodsp. 35
Accessing Arrays and Array Elementsp. 36
State the Range of Primitive Data Types and Declare Literal Values for String and Primitive Typesp. 39
Primitive Data Typesp. 39
Literalsp. 40
Checkpointp. 48
Review Questionsp. 51
Review Answersp. 53
Declarations and Access Controlp. 55
Write Code That Declares, Constructs, and Initializes Arraysp. 56
Array Overviewp. 56
Declaring an Arrayp. 57
Constructing an Arrayp. 58
Initializing an Arrayp. 59
Multidimensional Arraysp. 63
Declare Classes, Inner Classes, Methods, Instance Variables, Static Variables, and Automatic (Method Local) Variables
Declaration Basicsp. 65
Modifersp. 67
Determine If a Default Constructor Will Be Createdp. 83
State the Legal Return Typesp. 84
Checkpointp. 86
Review Questionsp. 87
Review Answersp. 89
Overloading, Overriding, Runtime Type, and Object Orientationp. 91
State the Benefits of Encapsulation in Object-Oriented Designp. 92
"Is-A" Relationshipsp. 94
"Has-A" Relationshipsp. 95
Write Code to Invoke Overridden or Overloaded Methods and Parental or Overloaded Constructors
Overridden Methodsp. 96
Overloaded Methodsp. 100
Overloaded and Parental Constructorsp. 103
Rules for Constructorsp. 104
Write Code to Construct Instances of Any Concrete Classp. 108
Inner Classesp. 109
Top-Level Nested Classesp. 114
Checkpointp. 115
Review Questionsp. 117
Review Answersp. 118
Garbage Collectionp. 119
Guaranteed Garbage Collector Behaviorsp. 120
The Java Memory Modelp. 120
The Garbage Collectorp. 122
Objects in Memoryp. 123
Parameter Variables Are Passed as Copiesp. 126
The Role of finalize () in Garbage Collectionp. 129
Checkpointp. 130
Review Questionsp. 131
Review Answersp. 133
The java. lang Packagep. 135
Package Overviewp. 136
Write Code Using Methods of the java.lang.Math Classp. 137
The Wrapper Classesp. 137
java.lang.Math Fields Covered by the Objectivesp. 138
java.lang.Math Methods Covered by the Objectivesp. 139
The System Classp. 148
The Object Classp. 148
getClass()p. 154
Describe the Significance of the Immutability of String Objects
Stringsp. 157
substring()p. 161
Checkpointp. 164
Review Questionsp. 167
Review Answerp. 169
Java in Practicep. 171
Operators and Assignmentsp. 173
Determine the Result of Applying Any Operator to Operandsp. 174
Unary Arithmetic Operatorsp. 181
The Bitwise Operatorsp. 183
The Operators and, , andand, , and Variables of Known Valuesp. 191
The Boolean Logical Operatorsp. 191
The Boolean Logical Short-Circuit Operatorsp. 192
The Equality Operators == and !=p. 193
The Shorthand Operatorsp. 195
The Conditional Operator ?:p. 196
The String Concatenation Operator +p. 197
The Type Comparison Operator - instanceofp. 199
Apply boolean equals (Object) to Objects of java.lang.String, java.lang.Boolean, and java.lang.Objectp. 202
The Ubiquitous equals() Methodp. 203
Effects of Method Invocations on Objects and Primitivesp. 205
Checkpointp. 207
Review Questionsp. 211
Review Answersp. 214
Flow Controlp. 217
Write Code Using if and switch Statements and Identify Legal Argument Typesp. 218
if-else Statementp. 218
The switch statementp. 220
Write Code Using All Forms of Loopsp. 223
Definite Iteration: The for Loopp. 223
Indefinite Iteration: while and do/while Loopsp. 225
The Transfer Statements: break and continuep. 227
Write Code That Makes Proper Use of Exceptions and Exception Handling Clausesp. 230
Java Statements Dealing with Exceptionsp. 231
The try-catch-finally Constructionp. 234
Checked and Unchecked Exceptionsp. 237
The throws Clausep. 238
Restrictions on Throwing Exceptionsp. 240
Exceptions in Constructors, Initializers, and Finalizersp. 241
Checkpointp. 242
Review Questionsp. 244
Review Answersp. 250
Threadsp. 253
Instantiate and Start New Threads Using Both java.lang.Thread and java.lang.Runnablep. 254
Thread Statesp. 258
Recognize Conditions That Might Prevent a Thread From Executingp. 260
Thread Priority and Schedulingp. 264
Write Code Using synchronized, wait, notify, or notifyAllp. 266
Communicating Between Threads to Avoid Race Conditionsp. 273
User and Daemon Threadsp. 280
Checkpointp. 282
Review Questionsp. 285
Review Answersp. 287
Using the Java APIp. 289
AWT 1: The User Interfacep. 291
Using the Java APIp. 289
Understanding the GUIp. 292
Program Flowp. 292
Applicationsp. 293
Appletsp. 293
Write Code Using Componentsp. 294
Componentsp. 295
Write Code Using Containersp. 307
Write Code Using the LayoutManager Classes of the java.awt Packagep. 311
Controlling the Lookp. 311
CardLayoutp. 320
LayoutManagers vs. Containersp. 321
Present a GUI with Specified Appearance and Resize Behaviorp. 321
Keeping the Screen Cleanp. 324
Checkpointp. 334
Review Questionsp. 335
Review Answersp. 339
AWT 2: Making the Screen Workp. 341
State the Event Classname for Any Specified Event Listener Interface in the java.awt.event Packagep. 342
Events: What Are They?p. 342
Event Enablingp. 344
Write Code to Implement Listener Classes and Methodsp. 346
Delegating to Listenersp. 347
The Standard Setup and KeyEventsp. 349
The Embedded Driver Setupp. 353
Inner Listenersp. 354
Anonymous Classesp. 355
Event Adaptersp. 357
Determine the Affected Component, Mouse Position, Nature, and Time of Eventp. 359
Event Informationp. 359
Putting More than One Listener on a Componentp. 362
Checkpointp. 365
Review Questionsp. 366
Review Answersp. 370
java.io Packagep. 373
Navigate with the File Classp. 374
Overviewp. 374
Checking File Attributesp. 375
Comparing Pathnamesp. 375
Operating on Underlying Filesp. 376
Extracting and Transforming Namesp. 376
Listing Directory Contentsp. 380
Use Stream Readers and Writersp. 383
Overviewp. 383
Byte Stream and Character Classesp. 384
InputStreamReaderp. 388
OutputStreamWriterp. 389
When to Specify the Encodingp. 389
Filter Input and Output Streamsp. 392
Overviewp. 393
FilterInputStream and Its Subclassesp. 394
FilterOutputStream and Its Subclassesp. 397
Read and Update Filesp. 399
FileInputStreamp. 399
Describe Permanent Effects on the File Systemfrom Using FileInputStream, FileOutput Stream, and RandomAccess Filep. 408
Checkpointp. 409
Review Questionsp. 410
Review Answersp. 414
The java.util Packagep. 417
Make Appropriate Selection of Collection Classes/Interfacesp. 419
Collections Interfaces and Classesp. 420
Mapping Interfaces and Classesp. 432
Iteratorsp. 439
Utility Classesp. 442
Checkpointp. 443
Review Questionsp. 444
Review Answersp. 447
About the CD-ROMp. 449
Mike Meyers' Certification Passport CD-ROM Instructionsp. 449
System Requirementsp. 449
Technical Supportp. 450
About the Online Code Samplesp. 450
Career Flight Pathp. 451
Sun Certified Developer for Java 2 Platform (310-027)p. 452
Sun Certified Web Component Developer for J2EE Platform (310-080)p. 452
Sun Certified Enterprise Architect for J2EE Technology (310-051 and 310-061)p. 452
Table of Contents provided by Syndetics. All Rights Reserved.