Introduction | p. xv |
Self-Assessment | p. xxiii |
Java And The Sun Certification Test | p. 1 |
Assessing Exam-Readiness | p. 2 |
The Test Environment | p. 2 |
The Test Objectives | p. 7 |
What Happens When You Pass? | p. 8 |
How We Prepared This Book | p. 8 |
Study Resources | p. 9 |
Language Fundamentals | p. 13 |
Structure Of Java Programs | p. 14 |
Java Reserved Words And Keywords | p. 16 |
Identifiers | p. 17 |
The Java Interpreter And The JVM | p. 18 |
Data Types In Java | p. 18 |
Arrays | p. 20 |
Program Conventions | p. 22 |
Utilization Of Javadoc Format API Documentation | p. 23 |
Practice Questions | p. 25 |
Need To Know More? | p. 30 |
Java Operators With Primitives And Objects | p. 31 |
Using Literals | p. 32 |
Numeric Operators | p. 35 |
String Objects And The + Operator | p. 39 |
Bitwise And Logic Operators | p. 40 |
Testing Object Equality | p. 46 |
Array Initialization | p. 47 |
Practice Questions | p. 51 |
Need To Know More? | p. 58 |
Creating Java Classes | p. 59 |
Defining A Class | p. 60 |
Class Members | p. 62 |
Interfaces | p. 69 |
Practice Questions | p. 73 |
Need To Know More? | p. 79 |
Nested Classes | p. 81 |
Nested And Inner Classes | p. 82 |
Static Nested Classes | p. 84 |
Access From Outside | p. 89 |
Practice Question | p. 92 |
Need To Know More? | p. 99 |
Converting And Casting Primitives And Objects | p. 101 |
Converting And Casting Primitives | p. 102 |
Converting And Casting Reference Types | p. 105 |
Practice Questions | p. 111 |
Need To Know More? | p. 118 |
Flow Control And Exceptions | p. 119 |
Basic Flow Control | p. 120 |
Exceptions | p. 127 |
Program Design With Exceptions | p. 131 |
Practice Questions | p. 135 |
Need To Know More? | p. 145 |
Working With Java Classes And Objects | p. 147 |
Object-Oriented Design | p. 148 |
Overloading And Overriding | p. 150 |
Object Garbage | p. 154 |
Practice Questions | p. 157 |
Need To Know More? | p. 166 |
Java Threads | p. 167 |
Thread Background | p. 168 |
The Thread Class | p. 169 |
Synchronizing Threads | p. 173 |
Practice Questions | p. 179 |
Need To Know More? | p. 186 |
Standard Library Utility Classes | p. 187 |
Utility Classes In The java.lang Package | p. 188 |
The java.math Package | p. 192 |
The Reflection Package | p. 193 |
Utility Classes In The java.util Package | p. 194 |
The New Collections | p. 197 |
Practice Questions | p. 201 |
Need To Know More? | p. 207 |
The Java AWT Components | p. 209 |
Overview Of The AWT Packages | p. 210 |
The Basic AWT Classes | p. 211 |
The Container Class | p. 216 |
The Window-Related Classes | p. 218 |
The Menu-Related Classes | p. 220 |
Geometric Utility Classes | p. 222 |
AWT Classes Related To Graphics | p. 222 |
Practice Questions | p. 229 |
Need To Know More? | p. 234 |
Building GUIs With The AWT Components | p. 235 |
The LayoutManager Interface | p. 236 |
Working With BorderLayout | p. 238 |
Working With FlowLayout | p. 240 |
Working With GridLayout | p. 241 |
Working With CardLayout | p. 242 |
Working With GridBagLayout | p. 244 |
Working Without A Layout Manager | p. 247 |
Practice Questions | p. 249 |
Need To Know More? | p. 255 |
The Java Model | p. 257 |
The Java 1.0 Even Model | p. 258 |
Events in Java 2 | p. 258 |
Listeners And Adapters | p. 262 |
Controls And ActionEvent Events | p. 263 |
Item Selection And Item Events | p. 265 |
Controls And AdjustmentEvent Events | p. 265 |
Component Events | p. 266 |
The MouseEvent And KeyEvent Classes | p. 268 |
Event Processing Review | p. 272 |
Practice Questions | p. 274 |
Need To Know More? | p. 279 |
Java IO | p. 281 |
How Java Handles Files | p. 282 |
InputStream And OutputStream | p. 284 |
Stream Filters | p. 284 |
DataInput And DataOutput Interfaces | p. 289 |
Streams And URLs | p. 289 |
The RandomAccessFile Class | p. 290 |
Object Serialization | p. 290 |
Zip Files And JAR Files | p. 291 |
Client/Server Programming | p. 291 |
Exceptions Thrown By IO Classes | p. 294 |
Review | p. 295 |
Practice Questions | p. 296 |
Need To Know More? | p. 301 |
Sample Test | p. 303 |
Questions, Questions, Questions | p. 304 |
Picking Proper Answers | p. 304 |
Deciding What To Memorize | p. 304 |
Preparing For The Test | p. 305 |
Taking The Test | p. 305 |
The Sample Test | p. 306 |
Answer Key | p. 341 |
Glossary | p. 355 |
Index | p. 377 |
Table of Contents provided by Syndetics. All Rights Reserved. |