SCJP Exam for J2SE 5: A Concise and Comprehensive Study Guide for The Sun Certified Java Programmer Exam

Front Cover
Apress, Nov 30, 2006 - Computers - 424 pages

Best selling author Paul Sanghera offers cohesive, concise, yet comprehensive coverage of all the topics included in the Sun Certified Programmer for Java 5 exam (CX 310-055). With a laser sharp focus on the exam objectives, this study guide goes beyond just being an "exam cram." The material is presented in a logical learning sequence: a section builds upon previous sections and a chapter on previous chapters. All concepts, simple and complex, are defined and explained when they appear the first time. There is no hopping from topic to topic and no technical jargon without explanation. No prior knowledge of Java programming is assumed. The single most difficult aspect of this exam is to read and understand the code in the exam questions in a limited amount of time. To help you get fluent and comfortable with the code, the book offers complete runnable code examples distributed over all the chapters and a codewalk quicklet feature at the end of each chapter.

Although the primary purpose of the book is to help you pass the SCJP exam, it will also serve as a good reference after the exam.

Special features include:

  • Hundreds of questions modeled after the real exam with fully explained answers.
  • A complete practice exam with questions modeled after the real exam and fully explained answers.
  • Hundreds of complete runnable code examples, explained in the book, that you can download and experiment with. This is a code-intensive exam.
  • The Codewalk Quicklet feature based on the process-based codewalk philosophy to prepare you for efficient response to the code-based questions in the exam.
  • The Exam Quick Prep feature which recaps all the important points for the last hour of preparation before taking the exam.
  • Useful information and analysis for the programmers who are considering updating the J2SE 1.4 certification to J2SE 5.
 

What people are saying - Write a review

User ratings

5 stars
4
4 stars
0
3 stars
0
2 stars
0
1 star
1

User Review - Flag as inappropriate

A very concise book, very helpfull, to the point material.Would not go for other material if i have to go for certification.

Contents

Basic Java Programming
22
Data Types and Operators
23
In Java until now there have been workarounds but no
34
Equality of Two Objects or Two Primitives
49
5 Which of the following statements would not produce the
53
Classes Methods and Interfaces
57
Java Language Fundamentals
89
Figure 41 The Student class is specified to be in
92
So the exception thrown by the overriding method must be
188
Do not use assertions to check the arguments passed
190
Input and Output in Java
197
The constructor for the DataOutputStream class is
207
Caution A class can be serialized only if it is
215
Strings Formatters and Wrappers
221
Collections and Generics
259
A trivial implementation of the hashCode method that will honor
271

So each directory listed in the classpath is a toplevel
95
Caution To make the java jar command work you need
96
1 package networking
102
Review Questions
116
ObjectOriented Programming
121
Conversion of Primitive Data Types
127
For questions 9 and 10 consider the class hierarchy shown
149
Execution Flow Control in Java
153
byte x5
159
for int i 0 int j 0 i+j
163
Which of the following lines would be part of the
170
Advanced Java
174
Exceptions and Assertions
175
To sum up the rules for execution flow in trycatchfinally
183
There will be situations in which you will need to
280
Threads in Java
291
1 Read the instance variable counter
302
Listing 114 TestCouponMachinejava
305
27 try
309
Installing and Testing J2SE 50
317
SCJP 50 Upgrade Exam
321
Answers to Chapter Review Questions
325
Practice Exam
333
Which of the following code fragments inserted at line 3
336
By using J2SE 50 the code is compiled without using
347
What is the result?
348
Exam Quick Prep
363
Copyright

Other editions - View all

Common terms and phrases

Popular passages

Page xxi - I have made this letter longer than usual, only because I have not had the time to make it shorter.
Page 391 - Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application. • If two objects are equal according to the...

About the author (2006)

Paul Sanghera, Ph.D., who contributed to developing the SCJP exam for Java 5, has 10 years programming and substantial teaching experience in Java. As a software engineer, Paul has contributed to the development of world-class technologies such as Netscape Communicator and Novell's NDS. He has been director of project management at successful startups such as Weborder and MP3.com. He has taught Java and other technology courses at several institutes in the San Francisco Bay Area including San Jose State University, Golden Gate University, California State University at Hayward, and Brooks College. With a master's degree in computer science from Cornell University and a Ph.D. in physics from Carleton University, he has authored and co-authored more than 100 technical papers published in well-reputed European and American research journals. Dr. Sanghera has also presented talks by invitation at several international scientific conferences. He is the best-selling author of several books on technology and project management. Paul lives in Silicon Valley, California, where he works as an independent information consultant.

Bibliographic information