A Programmer's Guide to Java Certification: A Comprehesive Primer, 2/e (Paperback) | 拾書所

A Programmer's Guide to Java Certification: A Comprehesive Primer, 2/e (Paperback)

$ 399 元 原價 1,650

To pass the Sun Certified Programmer for Java 2 Platform 1.4 exam (SCPJ2 1.4) you need this book. It is written for any experienced programmer (with or without previous knowledge of Java) interested in mastering the Java programming language and passing the SCPJ2 1.4 exam.

A Programmer's Guide to Java™ Certification, Second Edition, contains detailed coverage of all exam topics and objectives, helpful code examples, exercises, review questions, and several full practice exams. In addition, as a comprehensive primer to the Java programming language, this book is an invaluable reference tool for the reader.

This new edition has been thoroughly updated to focus on the latest version of the exam (CX-310-035). In particular, it contains more in-depth explanations of the syntax and usage of core language features that are now emphasized on the exam. The accompanying CD contains a version of the SCPJ2 1.4 Exam Simulator developed by Whizlabs Software, which includes several mock exams and simulates the exam-taking experience. The CD also contains the complete source code for all the examples, and 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 Java 2 Platform 1.4 exam
  • 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 Sun's objectives for the SCPJ2 1.4 exam, and a guide to taking the exam
  • A complete mock exam with new questions (not repeats of review questions)
  • A CD that includes several mock exams and a version of the SCJP 1.4 Exam Simulator by Whizlabs Software, which simulates the exam-taking experience
  • 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-independent coverage--platform-specific details are provided where relevant
  • Information about the SCPJ2 Upgrade exam
  • Table of Contents

    List of Tables.
    List of Examples.

    List of Figures.
    Foreword.
    Preface.

    Writing the Second Edition.
    About This Book.
    Using the Book.
    Book Web Sites.
    Request for Feedback.
    About the Authors.
    Acknowledgments (First Edition).
    Acknowledgments (Second Edition).


    1. Basics of Java Programming.

    Introduction.
    Classes.
    Declaring Members: Fields and Methods.

    Objects.
    Class Instantiation.
    Object References.

    Instance Members.
    Invoking Methods.

    Static Members.
    Inheritance.
    Aggregation.
    Tenets of Java.
    Review Questions.

    Java Programs.
    Sample Java Application.
    Essential Elements of a Java Application.
    Compiling and Running an Application.
    Review Questions.

    Chapter Summary.
    Programming Exercises.


    2. Language Fundamentals.

    Basic Language Elements.
    Lexical Tokens.
    Identifiers.
    Keywords.
    Literals.
    Integer Literals.
    Floating-point Literals.
    Boolean Literals.
    Character Literals.
    String Literals.
    White Spaces.
    Comments.
    Review Questions.

    Primitive Data Types.
    Integer Types.
    Character Type.
    Floating-point Types.
    Boolean Type.
    Review Questions.

    Variable Declarations.
    Declaring and Initializing Variables.
    Object Reference Variables.
    Lifetime of Variables.

    Initial Values for Variables.
    Default Values for Fields.
    Initializing Local Variables of Primitive Data Types.
    Initializing Local Reference Variables.
    Review Questions.

    Java Source File Structure.
    Review Questions.

    The main() Method.
    Review Questions.

    Chapter Summary.
    Programming Exercises.


    3. Operators and Assignments.

    Precedence and Associativity Rules for Operators.
    Evaluation order of operands.
    Conversions.
    Unary Cast Operator: (type).
    Narrowing and Widening Conversions.
    Numeric Promotions.
    Type Conversion Contexts.

    Simple Assignment Operator =.
    Assigning Primitive Values.
    Assigning References.
    Multiple Assignments.
    Numeric Type Conversions on Assignment.
    Review Questions.

    Arithmetic Operators: *, /, %, +, -.
    Arithmetic Operator Precedence and Associativity.
    Evaluation Order in Arithmetic Expressions.
    Range of Numeric Values.
    Unary Arithmetic Operators: -, +.
    Multiplicative Binary Operators: *, /, %.
    Additive Binary Operators: +, -.
    Numeric Promotions in Arithmetic Expressions.
    Arithmetic Compound Assignment Operators: *=, /=, %=, +=, -=.
    Review Questions.

    The Binary String

    Brand Slider