Java 2 Exam Prep, Second Edition / Edition 2

Java 2 Exam Prep, Second Edition / Edition 2

by Bill B. Brogden, William B. Brogden, Marcus Green, Marcus Green
     
 

ISBN-10: 1588801403

ISBN-13: 9781588801401

Pub. Date: 08/31/2001

Publisher: Coriolis Value

Java 2 Exam Prep, 2nd Edition is the updated and revised version of one of our best selling titles in the Exam Prep series. This content-rich and highly detailed book gives the reader not only thorough test preparation for the Sun Certified Java Programmer, Java 2 exam (310-025), but also serves as a valuable on-the-job reference. The book covers key test

Overview

Java 2 Exam Prep, 2nd Edition is the updated and revised version of one of our best selling titles in the Exam Prep series. This content-rich and highly detailed book gives the reader not only thorough test preparation for the Sun Certified Java Programmer, Java 2 exam (310-025), but also serves as a valuable on-the-job reference. The book covers key test content and objectives like learning Java language fundamentals, creating Java classes, building GUIs with the AWT Components, and working with flow control and exceptions. Exam Prep study guides add even more value to the reader with real-world projects and examples, a CD containing 50 realistic practice test questions, and a feature that allows free electronic downloads of additional questions.

Product Details

ISBN-13:
9781588801401
Publisher:
Coriolis Value
Publication date:
08/31/2001
Series:
Exam Prep Series
Edition description:
2ND BK&CDR
Pages:
640
Product dimensions:
7.88(w) x 9.62(h) x 1.91(d)

Table of Contents

Exam Insightsxxv
Self-Assessmentxxxv
Chapter 1Introduction to Java1
Java Design Principles2
History of Java3
Java Tools4
Sun's Java Certification Exam6
Get a Java Job7
Chapter 2Java Language Fundamentals13
The Structure of Java Programs14
Java Reserved Words17
Java Variables and Data Types18
Class Basics25
Interface Basics28
Sun's Software Development Kit28
Conventions for Applications30
Conventions for Applets33
Javadoc Format Documentation36
Chapter Summary37
Chapter 3Java Operators with Primitives and Objects47
Numeric Operators48
Logical and Bitwise Operators55
Logical Operators58
Logical Operators with Objects60
String Operators: A Special Case64
Expression Evaluation66
Casting and Converting of References67
Array Declaration, Initialization, and Conversion68
Chapter Summary70
Chapter 4Creating Java Classes85
Creating Java Classes86
Declaring a Java Class86
Constructors98
Static Members and Variables101
The this Keyword106
Automatic Variables109
Method Signatures113
Inner Classes113
Chapter Summary118
Chapter 5Flow Control and Exceptions135
Loops with for, while, and do136
Branching with if--else and switch140
Summary of Basic Flow Control142
Exceptions, Errors, and Flow Control143
Exceptions, try, catch, and finally146
Designing Programs with Exceptions147
Chapter Summary148
Chapter 6Program Architecture with Java Classes and Objects167
Extending Classes and Implementing Interfaces168
Overriding Methods170
Overloading Methods173
Abstract Classes in Program Design174
More about Interfaces175
The Class Class177
The final Problem178
Class Design and Encapsulation178
Design Patterns and Java179
Memory Management in Java182
Chapter Summary185
Chapter 7Java Threads201
Multitasking vs. Multithreading202
The Thread Class203
Thread Groups210
Synchronizing Objects and Threads211
Using wait and notify215
Hazards of Thread Programming217
Exceptions Associated with Threads218
Chapter Summary218
Chapter 8Standard Java Library235
The Core Classes236
The Extended Math Classes247
The Utility Classes248
The Original Collections251
The Advanced Collections Classes257
Chapter Summary265
Chapter 9Java AWT and JFC Components279
What Is on the Exam?280
An Overview of Java Graphical Interfaces280
The Java AWT Packages282
The Component Class283
The Container Class287
Menu-Related Classes294
Graphics-Related Classes in the AWT297
Event-Related Classes in the AWT303
User Interfaces with Swing Classes304
A Summary of User Controls with AWT and Swing311
Chapter Summary312
Chapter 10Building GUI Applications with Layout Managers329
The Layout Manager Concept330
Specialized Containers341
Chapter Summary344
Chapter 11Java Event Handling361
A Brief History of Java Event Handling362
The Event Hierarchy364
Generating Events370
Event Listeners371
Coordinating Events with Actions375
Chapter Summary376
Chapter 12Java Graphics399
Introduction to Graphics400
The Graphics Class400
Drawing Text406
The Graphics2D Class410
Printing411
Working with Images414
Chapter Summary418
Chapter 13Java I/O431
Dealing with IOException432
How Java Treats Files432
Stream Methods438
Filtering Input Streams443
Readers and Writers445
Object Serialization448
JAR and Zip Files450
Networks, Sockets, TCP/IP, and Datagrams451
Talking to Serial and Parallel Ports454
Chapter Summary455
Chapter 14Advanced Java Topics467
The Big Picture468
Java 2 Micro Edition469
Java 2 Standard Edition472
Java 2 Enterprise Edition474
Chapter 15Sample Test485
Chapter 16Answer Key523
Appendix AAnswers to Review Questions535
Appendix BObjectives for Exam 310-025555
Appendix CStudy Resources557
Appendix DJava Programming and Debugging Hints561
Glossary567
Index591

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >