书籍详情

Java 2学习指南:Sun Certified Programmer & Developer for Java 2(Exam 310-035 & 310-027) 英文版

Java 2学习指南:Sun Certified Programmer & Developer for Java 2(Exam 310-035 & 310-027) 英文版

作者:(美)Kathy Sierra,(美)Bert Bates著

出版社:人民邮电出版社

出版时间:2003-08-01

ISBN:9787115113696

定价:¥79.00

购买这本书可以去
内容简介
  本书以Java 2的SCJP和SCJD认证考试为目标,内容涵盖了SCJP和SCJD核心考试的所有考试要点,尽可能详细地介绍了参加SCJP和SCJD的应试者以及其他高级用户所应该掌握的所有技能。本书在介绍考试要点时针对每个考试目标,使用了大量的插图、表格、试验、测试等,使读者在牢固掌握知识点的同时,轻松地获得丰富的实践经验。本书由具有丰富SCJP和SCJD考试经验的专家编写,是参加SCJP和SCJD的考试人员的必备考试教材。本书也是一本学习使用Java 2的很好的参考书,还可以作为一些疑难问题的速查手册。
作者简介
暂缺《Java 2学习指南:Sun Certified Programmer & Developer for Java 2(Exam 310-035 & 310-027) 英文版》作者简介
目录
Part I The Programmer's Exam</font><br></font><br>1 Language Fundamentals</font><br></font><br>Java Programming Language Keywords (Exam Objective 4.4)</font><br>Access Modifiers</font><br>Class, Method, and Variable Modifiers</font><br>Flow Control</font><br>Error Handling</font><br>Package Control</font><br>Primitives</font><br>Variable Keywords</font><br>Void Return Type Keyword</font><br>Unused Reserved Words</font><br>Literals and Ranges of All Primitive Data Types (Exam Objective 4.6)</font><br>Range of Primitive Types</font><br>Literal Values for All Primitive Types</font><br>Literal Values for Strings</font><br>Array Declaration, Construction, and Initialization(Exam Objective 1.1)</font><br>Declaring an Array</font><br>Constructing an Array</font><br>Initializing an Array</font><br>Using a Variable or Array Element That Is Uninidalized and Unassigned (Exam Objective 4.5)</font><br>Primitive and Object Type Instance Variables</font><br>Local (Stack, Automatic) Primitives and Objects</font><br>Command-Line Arguments to Main (Exam Objective 4.3)</font><br>Exercise 1-1: Creating a Program That Outputs Command-Line Arguments</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br>Exercise Answers</font><br></font><br>2 Declarations and Access Control</font><br></font><br>Declarations and Modifiers (Exam Objective 1.2)</font><br>Class Dedarations and Modifiers</font><br>Exercise 2-1: Creating an Abstract Superdass and Concrete Subdass</font><br>Method and Variable Declarations and Modifiers</font><br>Declaration Rules (Exam Objective 4.1)</font><br>Source Files, Package Declarations, and Import Statements</font><br>Formatting the Main() Method</font><br>Interface Implementation (Exam Objective 4.2)</font><br>Declaring an Interface</font><br>Declaring Interface Constants</font><br>Implementing an Interface</font><br>Two-Minute Drill</font><br>Q&A SelfTest</font><br>Self Test Answers</font><br></font><br>3 Operators and Assignments</font><br></font><br>Java Operators (Exam Objective 5.1)</font><br>Assignment Operators</font><br>Comparison Operators</font><br>instanceof Comparison</font><br>Equality Operators</font><br>Arithmetic Operators</font><br>Shift Operators</font><br>Exercise 3-1: Using Shift Operators</font><br>Bitwise Operators</font><br>Bitwise Complement Operator</font><br>Conditional Operator</font><br>Primitive Casting</font><br>Exercise 3-2: Casting Primitives</font><br>Logical Operators (Exam Objective 5.3)</font><br>Short-Circuit Logical Operators</font><br>Logical Operators (not Short-Circuit)</font><br>Passing Variables into Methods (Exam Objective 5.4)</font><br>Passing Object Reference Variables</font><br>Does Java Use Pass-By-Value Semantics?</font><br>Passing Primitive Variables</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br>Exercise Answers</font><br></font><br>4 Flow Control, Exceptions, and Assertions</font><br></font><br>Writing Code Using if and switch Statements (Exam Objective 2.1)</font><br>if-else Branching</font><br>switch Statements</font><br>Exercise 4-1: Creating a switch-case Statement</font><br>Writing Code Using Loops (Exam Objective 2.2)</font><br>Using while Loops</font><br>Using do-while Loops</font><br>Using for Loops</font><br>Using break and continue in for Loops</font><br>Unlabeled Statements</font><br>Labeled Statements</font><br>Exercise 4-2: Creating a Labeled while Loop</font><br>Handling Exceptions (Exam Objectives 2.3 and 2.4)</font><br>Catching an Exception Using try and catch</font><br>Using finally</font><br>Propagating Uncaught Exceptions</font><br>Exercise 4-3: Propagating and Catching an Exception</font><br>Defining Exceptions</font><br>Exception Hierarchy</font><br>Handling an Entire Class Hierarchy of Exceptions</font><br>Exception Matching</font><br>Exception Declaration and the Public Interface</font><br>Rethrowing the Same Exception</font><br>Exercise 4-4: Creating an Exception</font><br>Working with the Assertion Mechanism(Exam Objectives 2.4 and 2.5)</font><br>Assertions Overview</font><br>Enabling Assertions</font><br>Using Assertions Appropriately</font><br>Two-Minute Drill</font><br>Q&A SelfTest</font><br>Self Test Answers</font><br>Exercise Answers</font><br></font><br>5 Object Orientation, Overloading and Overriding,Constructors, and Return Types</font><br></font><br>Benefits of Encapsulation (Exam Objective 6. l)</font><br>IS-A and HAS-A Relationships</font><br>Overridden and Overloaded Methods (Exam Objective 6.2)</font><br>Overridden Methods</font><br>Overloaded Methods</font><br>Constructors and Instantiation (Exam Objectives 1.3, 6.3, 6.2)</font><br>Constructor Basics</font><br>Determine Whether a Default Constructor W'dl Be Created</font><br>Overloaded Constructors</font><br>Legal Return Types (Exam Objective 1.4)</font><br>Return Type Declarations</font><br>Returning a Value</font><br>Two-Minute Drill</font><br>Q&A SelfTest</font><br>Self Test Answers</font><br></font><br>6 Java. lang-The Hath Class, Strings, and Wrappers</font><br></font><br>Using the String Class (Exam Objective 8.2)</font><br>Strings Are Immutable Objects</font><br>Important Facts About Strings and Memory</font><br>Important Methods in the String Class</font><br>The StringBuffer Class</font><br>Important Methods in the StringBuffer Class</font><br>Using the Math Class (Exam Objective 8.1)</font><br>Methods of the java. lang. Math Class</font><br>Exercise 6-1: Using the Math Class</font><br>Exercise 6-2: Rounding Random Numbers</font><br>Miscellaneous Math Class Facts</font><br>Using Wrapper Classes (Exam Objective 8.3)</font><br>An Overview of the Wrapper Classes</font><br>Creating Wrapper Objects</font><br>Using Wrapper Conversion Utilities</font><br>Using equals0(Exam Objective 5.2)</font><br>An Overview of == and the equals() Method</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br>Exercise Answers</font><br></font><br>7 Objects and Collections</font><br></font><br>Overriding hashCode() and equals() (Exam Objective 9.2)</font><br>Overriding equals()</font><br>Overriding hashCode()</font><br>Collections (Exam Objective 9.1)</font><br>So What Do You Do with a Collection?</font><br>Garbage Collection (Exam Objectives 3.1, 3.2, 3.3)</font><br>Overview of Memory Management and Garbage collection</font><br>Overview of Java's Garbage collector</font><br>Writing Code That Explicitly Makes Objects Eligible for Collection</font><br>Forcing Garbage Collection</font><br>Cleaning Up Before Garbage Collection--the Finalize() Method</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br></font><br>8 Inner Classes</font><br></font><br>Inner Classes</font><br>Coding a "Regular" Inner Class</font><br>Referencing the Inner or Outer Instance from Within the Inner Class</font><br>Method-Local Inner Classes</font><br>Anonymous Inner Classes</font><br>Static Nested Classes</font><br>Instantiating a Static Nested Class</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br></font><br>9 Threads</font><br></font><br>Defining, Instantiating, and Starting Threads (Exam Objective 7.1)</font><br>Defining a Thread</font><br>Instantiating a Thread</font><br>Starting a Thread</font><br>Preventing Thread Execution (Exam Objective 7.2)</font><br>Sleeping</font><br>Exercise 9-1: Creating a Thread and Putting It to Sleep</font><br>Thread Priorities and Yield</font><br>Synchronizing Code (Exam Objective 7.3)</font><br>Synchronization and Locks</font><br>Exercise 9-2: Synchronizing a Block of Code</font><br>Thread Interaction (Exam Objective 7.4)</font><br>Using notifyAll() When Many Threads May Be Waiting</font><br>Two-Minute Drill</font><br>Q&A Self Test</font><br>Self Test Answers</font><br>Exercise Answers</font><br></font><br>Part II The Developer's Exam</font><br></font><br>10 Introduction to the 3CiD</font><br></font><br>Understand the Sun Certified Java Developer Exam Process</font><br>How Does It Work?</font><br>Are You a Good Candidate?</font><br>How Much Does It Cost?</font><br>How Long Does It Take?</font><br>What's the Exam Deliverable?</font><br>Can I Develop with an IDE?</font><br>How Is It Graded?</font><br>What Are the Exam Assessors Thinking?</font><br>What Are the Exam Assessors NOT Thinking?</font><br>What's the Assignment Like?</font><br>Overview of the Developer Exam Chapters</font><br>Key Points Summary</font><br></font><br>11 Coding Standards</font><br></font><br>Use Sun Java Coding Standards</font><br>Spacing Standards</font><br>How to Care for Your Curly Braces</font><br>Our Comments About Comments</font><br>Declarations Are Fun</font><br>Key Points Summary</font><br></font><br>12 Clarity and Maintainability</font><br></font><br>Write Clear and Maintainable Code</font><br>General Programming Considerations</font><br>Follow Basic OO Design Principles</font><br>Don't Reinvent the Wheel</font><br>Handle Errors Appropriately</font><br>Key Points Summary</font><br></font><br>13 Designing the Graphical User Interface</font><br></font><br>Creating a Usable and Extensible GUI</font><br>An Overview of Technical Considerations for Your GUI</font><br>Introduction to Usability Design</font><br>1. Use-Cases and the Business Function</font><br>2. Principles of Good Screen Design</font><br>3. Choosing Your Widgets, JTable, and What Army?</font><br>4. Screen Layout for Your Project</font><br>5. Menus and Navigation</font><br>6. Messages, Feedback, and Dialog Boxes</font><br>7. How to Use Colors in Your GUI</font><br>8. How to Test Your GUI</font><br>Key Points Summary</font><br></font><br>14 Networking Issues</font><br></font><br>Understand Networking Issues</font><br>RMI and Sockets</font><br>Questions to Ask Yourself</font><br>Key Points Summary</font><br></font><br>15 Database Issues</font><br></font><br>Understand Database Issues</font><br>Building a Database</font><br>Questions to Ask Yourself</font><br></font><br>16 Exam Documentation</font><br></font><br>Understand the Sun Certified Java Developer Exam Documentation Requirements</font><br>Developer's Documentation</font><br>End User Documentation</font><br>javadoc and You</font><br>The Developer's Choices Document</font><br>The Return of Comments and the Versions File</font><br>Key Points Summary</font><br></font><br>17 Final Submission and Essay</font><br></font><br>Preparing the Final Submission</font><br>File Organization</font><br>The Follow-Up Essay</font><br>Key Points Summary</font><br></font><br>A About the CD</font><br></font><br>System Requirements</font><br>LearnKey Additional Training</font><br>Installing and Running MasterExam</font><br>MasterExam</font><br>Electronic Book</font><br>Help</font><br>Removing Installation(s)</font><br>Technical Support</font><br>LearnKey Technical Support</font><br></font><br>Glossary</font><br>Index
猜您喜欢

读书导航