A Programmer's Guide to Java SCJP Certification A Comprehensive Primer

by ;
Edition: 3rd
Format: Paperback
Pub. Date: 2008-12-19
Publisher(s): Addison-Wesley Professional
List Price: $64.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

This book will help you prepare for and pass the Sun Certified Programmer for the Java Platform SE 6 (CX-310-065) Exam. It is written for any experienced programmer (with or without previous knowledge of Java) interested in mastering the Java programming language and passing the SCJP 1.6 Exam. A Programmerrs"s Guide to Javatrade; SCJP Certification, Third Edition,provides detailed coverage of all exam topics and objectives, readily runnable code examples, programming exercises, extensive review questions, and a new mock exam. In addition, as a comprehensive primer to the Java programming language, this book is an invaluable reference tool. This new edition has been thoroughly updated to focus on the latest version of the exam (CX-310-065). In particular, it contains in-depth explanations of the language features. Their usage is illustrated by way of code scenarios, as required by the exam. The companion Web site ( www.ii.uib.no/~khalid/pgjc3e/ ) contains a version of the SCJP 1.6 Exam Simulator developed by the authors. The site also contains the complete source code for all the bookrs"s examples, as well as solutions to the programming exercises. What you will find in this book: Extensive coverage of all the objectives defined for the Sun Certified Programmer for the Java Platform, Standard Edition 6 (CX-310-065) Exam An easy-to-follow structure with chapters organized according to the exam objectives, as laid out by Sun Microsystems Summaries that clearly state and differentiate the exam objectives and the supplementary objectives to be covered in each chapter A list of Sunrs"s objectives for the SCJP 1.6 Exam and a guide to taking the exam A complete mock exam with new questions (not repeats of review questions) Numerous exam-relevant review questions to test your understanding of each major topic, with annotated answers Programming exercises and solutions at the end of each chapter Copious code examples illustrating concepts, where the code has been compiled and thoroughly tested on multiple platforms Program output demonstrating expected results from running the examples Extensive use of UML (Unified Modeling Language) for illustration purposes An introduction to basic terminology and concepts in object-oriented programming Advice on how to avoid common pitfalls in mastering the language and taking the exam Platform- and tool-independent coverage Information about the SCJP 1.6 Upgrade (CX-310-066) Exam

Author Biography

Khalid A. Mughal is an Associate Professor at the Department of Informatics at the University of Bergen, Norway. Professor Mughal is responsible for designing and implementing various courses, which use Java, at the Department of Informatics. Over the years, he has taught Programming Languages (Java, C/C++, Pascal), Software Engineering (Object-Oriented System Development), Data bases (Data Modeling and Database Management Systems), and Compiler Techniques. He has also given numerous courses and seminars at various levels in object-oriented programming and system development, using Java and Javarelated technology, both at the University and for the IT industry. He is the principal author of the book, responsible for writing the material covering the Java topics.

Professor Mughal is also the principal author of an introductory Norwegian textbook on programming in Java (Java som første programmeringsspråk/Java as First Programming Language, Third Edition, Cappelen Akademisk Forlag, ISBN-10: 82-02-24554-0, 2006), which he co-authored with Torill Hamre and Rolf W. Rasmussen. Together they have also published another textbook for a 2-semester course in programming (Java Actually: A Comprehensive Primer in Programming, Cengage Learning, ISBN-10: 1844809331, 2008).

His current work involves applying Object Technology in the development of content management systems for publication on the Web, and security issues related to web applications. For the past seven years he has been responsible for developing and running web-based programming courses in Java, which are offered to offcampus students.

He is also a member of the Association for Computing Machinery (ACM).

Rolf W. Rasmussen
is the System Development Manager at vizrt, a company that develops solutions for the TV broadcast industry, including real-time 3D graphic renderers, and content and control systems.

Rasmussen works mainly on control and automation systems, video processing, typography, and real-time visualization. He has worked on clean room implementations of the Java class libraries in the past, and is a contributor to the Free Software Foundation.

Over the years, Rasmussen has worked both academically and professionally with numerous programming languages, including Java. He is primarily responsible for developing the review questions and answers, the programming exercises and their solutions, the mock exam, and all the practical aspects related to taking the SCJP exam presented in this book.

As mentioned above, he is also a co-author of two introductory textbooks on programming in Java.

Table of Contents

List of Figures ?p. xxiii
List of Tables ?p. xxvii
List of Examples ?p. xxix
Foreword ?p. xxxv
Preface ?p. xxxvii
Basics of Java Programmingp. 1
Introductionp. 2
Classesp. 2
Objectsp. 4
Instance Membersp. 6
Static Membersp. 7
Inheritancep. 10
Aggregationp. 12
Tenets of Javap. 13
Java Programsp. 15
Sample Java Applicationp. 15
Language Fundamentalsp. 19
Basic Language Elementsp. 20
Primitive Data Typesp. 28
Variable Declarationsp. 31
Initial Values for Variablesp. 33
Chapter Summaryp. 37
Programming Exercisep. 37
Declarationsp. 39
Class Declarationsp. 40
JavaBeans Standardp. 41
Method Declarationsp. 44
Constructorsp. 48
Enumerated Typesp. 54
Arraysp. 69
Parameter Passingp. 81
Variable Arity Methodsp. 90
Chapter Summaryp. 100
Programming Exercisesp. 101
Access Controlp. 103
Java Source File Structurep. 104
Packagesp. 105
Searching for Classesp. 117
The JAR Utilityp. 120
System Propertiesp. 122
Scope Rulesp. 129
Accessibility Modifiers for Top-Level Type Declarationsp. 132
Other Modifiers for Classesp. 135
Member Accessibility Modifiersp. 138
Other Modifiers for Membersp. 146
Chapter Summaryp. 157
Programming Exercisep. 157
Operators and Expressionsp. 159
Conversionsp. 160
Type Conversion Contextsp. 163
Precedence and Associativity Rules for Operatorsp. 166
Evaluation Order of Operandsp. 168
The Simple Assignment Operator =p. 169
Arithmetic Operators: *, /, %, +, -p. 174
The Binary String Concatenation Operator +p. 185
Variable Increment and Decrement Operators: ++, --p. 186
Boolean Expressionsp. 190
Relational Operators: , >=p. 190
Equalityp. 191
Boolean Logical Operators: !, ^, &p. 194
Conditional Operators: &p. 196
The Conditional Operator:?:p. 201
Other Operators: new, [], instanceofp. 201
Chapter Summaryp. 202
Programming Exercisep. 202
Control Flowp. 203
Overview of Control Flow Statementsp. 204
Selection Statementsp. 204
Iteration Statementsp. 216
Transfer Statementsp. 223
Stack-Based Execution and Exception Propagationp. 235
Exception Typesp. 239
Exception Handling: try, catch, and finallyp. 245
The throw Statementp. 255
The throws Clausep. 257
Assertionsp. 265
Chapter Summaryp. 279
Programming Exercisesp. 279
Object-Oriented Programmingp. 283
Single Implementation Inheritancep. 284
Overriding Methodsp. 288
Hiding Membersp. 294
The Object Reference superp. 295
Chaining Constructors Using this() and super()p. 302
Interfacesp. 309
Arrays and Subtypingp. 317
Reference Values and Conversionsp. 319
Reference Value Assignment Conversionsp. 320
Method Invocation Conversions Involving Referencesp. 323
Reference Casting and the instanceof Operatorp. 327
Polymorphism and Dynamic Method Lookupp. 340
Inheritance Versus Aggregationp. 342
Basic Concepts in Object-Oriented Design 345
Chapter Summaryp. 349
Programming Exercisesp. 349
Nested Type Declarationsp. 351
Overview of Nested Type Declarationsp. 352
Static Member Typesp. 355
Non-Static Member Classesp. 359
Local C
Table of Contents provided by Publisher. All Rights Reserved.

Excerpts

Foreword ForewordConsider the following observations: Software continues to become ever more pervasive, ever more ubiquitous in our lives. Incompetence seems to be the only thing we can count on in today's world and, especially, in the domain of software. The Java programming language has become a lingua franca for programmers all over the world.One can draw varied conclusions from these comments. One of them is that it is of great importance that programmers working with the Java programming language should be as competent as possible.The Java certification program is an important effort aimed at precisely this goal. Practitioners looking to obtain such certification need good quality training materials, which brings us to this book.Programming is still more of an art than a science, and will continue to be so for the foreseeable future. Mastering the intricacies of a large and complex programming language is a challenging task that requires time and effort, and above all experience.Real programming requires more than just mastery of a programming language. It requires mastery of a computing platform, with a rich set of libraries. These libraries are designed to simplify the task of building realistic applications, and they do. Again, the practitioner is faced with a daunting task.To address the clear need for professional training material, a plethora of books have been written purporting to tutor programmers in the programming language and platform skills they require.The choice is as mind boggling as the material within the books themselves. Should one try Java for Frontally Lobotomized Simians or Postmodern Java Dialectics ? The readership for these books is largely self selecting. I trust that if you, the reader, have gotten this far, you are looking for something that is intelligent, yet practical. This book is one of the finest efforts in this crowded arena. It brings a necessary level of academic rigor to an area much in need of it, while retaining an essentially pragmatic flavor.The material in this book is probably all you need to pass the Java certification exam. It certainly isn't all you need to be a good software engineer. You must continue learning about new technologies. The hardest part of this is dealing with things that are completely different from what you are familiar with. Yet this is what distinguishes the top flight engineer from the mediocre one. Keep an open mind; it pays.Gilad Bracha Computational Theologist Sun Java Software http://java.sun.com/people/gbracha/ Copyright Pearson Education. All rights reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.