Java2考试指南(英文原版附光盘)/专业认证考试丛书

Java2考试指南(英文原版附光盘)/专业认证考试丛书 - 图书城

增改描述、封面图片

作者:
美Stanek,W.
ISBN:
9787505374287 , 7505374281
出版社:
出版日期:
2002-4-1
定价:
76.00
购买:
读过这本书吗?
最近在读 读过 想读 还不熟悉
我的评价:   
图书城书列:
加入到博客或社交网站:
我来评论这本书:
标题:
评价:
内容:
内容提要:
    这是一本代码详尽的程序开发人员用书,其最大特点是使用大量“商业级”的程序代码来传授企业应用程序的开发技巧。书中所有的示例都分别提供C#和Visual Basic.NET两种语言的代码,便于读者的对比学习。本书的第一部分简明地介绍了ASP.NET框架,第二部分以大量的代码实例讨论ASP.NET的各个方面,最后是使用广泛的Microsoft .NET名字空间的完全参考。本书涉及ASP.NET的全面细节,主要包括通用语言运行时、确认控件、Web控件、列表控件、用户控件、组件构建、ADO.NET和XML Web服务等。 代码详尽是本书的特点,书中的代码可以从原出版商的站点下载。本书是Web开发人员编程中随时查阅的必备手册用书。
目录:
Introduction 1
Part I Studying for the Programmer?s Exam 7
Chapter 1 Programmer Exam Roadmap 8
What Is the Programmer Exam Like? 8
What?s on the Exam 8
Declarations and Access Control 9
Flow Control and Exception Handling 9
Garbage Collection 9
Language Fundamentals 9
Operators and Assignments 9
Overloading, Overriding Runtime Type, and Object Orientation 10
Threads 10
The java.awt Package ?Layout 10
The java.lang Package 10
The java.util Package 10
The java.io Package 11
How Does the Text Map to the Programmer Exam Objectives? 11
How the Test Is Administered 11
How to Sign up for and Take the Exams 11
Test-Taking Tips for the Programmer Exam 12
What the Test Program Looks Like for the Programmer Exam 12
Be Careful! 13
Take Your Time and Answer the Easy Ones First 13
Beware of Tricks 14
Understand Why the Question Is on the Test 14
Know Your Test Center 15
What Happens When You?re Done? 16
Sun?s Take on Certification 16
How Sun Manages the Certification Process 16
Where Certification Is Heading 17
Chapter 2 Java Programming Fundamentals 18
Java Programming Concepts 18
Objects 18
Classes 19
Packages 19
Inheritance 19
Encapsulation 20
Access Controls 20
Java?s Characteristics 21
Design for Distributed Networks 22
Design for Multithreading 22
Design for Ease of Use and Reuse 22
Design for Security 23
Working with Java Applets and Applications 23
The Java Specification and the API 23
Java 1.1 24
Java 2: JDK 1.2 24
Java 2: JDK 1.3 25
Review Questions 25
Answers to Review Questions 26
Chapter 3 Java Keywords 27
An Alphabetical List of All the Keywords 27
Organizing Classes 27
Defining Classes 28
Keywords for Classes and Members 28
Simple Data Types 30
Values and Variables 30
Exception Handling 31
Instance Creation and Testing 32
Control Flow 32
Exercises 34
Exercise 3-1 34
Exercise 3-2 34
Exercise 3-3 34
Answers to the Exercises 34
Review Questions 35
Answers to Review Questions 36
Chapter 4 Java Building Blocks 37
Identifiers 37
Literals 38
Boolean Literals 38
Character Literals 38
Exercise 4-1 39
String Literals 39
Exercise 4-2 40
Integer Literals 40
Floating-Point Literals 41
Separators 41
Operators 41
Exercise 4-3 42
Exercise 4-4 43
Comments 43
Answers to the Exercises 44
Review Questions 44
Answers to Review Questions 46
Chapter 5 Memory and Garbage Collection 47
Garbage Collection 47
When Does an Object Become Eligible for Garbage Collection? 48
Invoking the Garbage Collector 48
Finalization 49
Exercise 5-1 49
Exercise 5-2 49
Accessing Members 50
Exercise 5-3 51
Passing Parameters to a Method 51
Exercise 5-4 54
Forcing Garbage Collection 55
Answers to the Exercises 55
Review Questions 57
Answers to Review Questions 59
Chapter 6 Data Types and Values 60
Data Types 60
Variables and Data Types 61
Primitive Data Types 61
Integer Data Types 62
Character Values 63
Floating-Point Arithmetic 64
Booleans 65
Casting 65
Exercises 66
Exercise 6.1 66
Exercise 6.2 66
Exercise 6.3 66
Arrays 66
Declaring and Initializing Arrays 67
One-Dimensional Arrays 67
Initializing an Array When it is Allocated 68
Exercise 6.4 69
Arrays of Arrays 69
Where Arrays Fit into the Class Hierarchy 70
Answers to the Exercises 71
Review Questions 72
Answers to Review Questions 73
Chapter 7 Operators 74
Operators and Expressions 74
Arithmetic Operators 75
Assignment Operators 77
Comparison Operators 78
Logical Operators 79
Bitwise Operators 80
The>>Operator 81
The>>>Operator 82
The<The &, |, and ^ Operators 84
Exercises 85
Exercise 7.1 85
Testing for an Object?s Class Type 85
Exercise 7.2 86
equals() and == 86
Exercise 7.3 87
Exercise 7.4 87
Operator Precedence and Evaluation Order 87
Using Arrays in Expressions 89
Using chars in Expressions 89
Answers to the Exercises 89
Review Questions 92
Answers to Review Questions 94
Chapter 8 Control Flow 96
Using if and if . . . else Statements 96
if Statements 96
if . . . else Statements 97
Nested if Statements 97
Legal Values for if Statements 98
Exercise 8.1 98
Looping Expressions 99
while Statements 99
do-while Statements 100
Legal Values for while and do-while Statements 101
Iteration with for loops 101
for Statements 101
Controlling for Loops with Expressions 102
Nested for Loops 102
Switch and Case Statements 103
switch case 103
Nested switch case 104
Using Jump Statements 105
break 105
continue 105
Labeled Loops 106
Exercise 8.2 108
Using && and || 109
Exercise 8.3 109
Answers to the Exercises 109
Review Questions 110
Answers to Review Questions 111
Chapter 9 Methods 112
Defining Methods 112
Methods Definitions 112
Return Types 113
Method Modifiers 114
Exercise 9.1 116
Overloading a Method 117
Exercise 9.2 118
Overriding a Method 118
Access Control to Subclasses 119
Inheriting Synchronized and Abstract 119
Return Types 119
Parameter Types 120
Exceptions 120
Exercise 9.3 120
Object References to Base and Derived Classes 121
Answers to the Exercises 122
Review Questions 124
Answers to Review Questions 125
Chapter 10 Constructors 126
Constructor Essentials 126
The Default Constructor 127
Defining, Overloading, and Overriding a Constructor 128
Invoking Another Constructor 130
Instance Variables in Constructors 130
Exercise 10.1 132
Exercise 10.2 132
Exercise 10.3 133
Answers to the Exercises 133
Review Questions 134
Answers to Review Questions 136
Chapter 11 Objects and Classes 137
Objects 137
Creating and Destroying Objects 138
Classes 139
Declaring a Class 139
Application Class Structures 140
Applet Class Structures 140
Class Variables 143
Instance Variables 144
Static Variables 145
Predefined Instances 145
null 145
this 145
super 146
Object-Oriented Relationships Using ?is a?and ?has a?146
Exercises 148
Exercise 11.1 148
Exercise 11.2 148
Class Keywords 148
public 149
abstract 149
strictfp 150
final 150
Exercise 11.3 151
Exercise 11.4 151
Variable Keywords 151
static 151
final 151
transient 152
volatile 152
Exercise 11.5 152
Access Control Keywords 152
public 152
private 153
protected 153
Exercise 11.6 153
Exercise 11.7 154
Exercise 11.8 154
Exercise 11.9 154
Exercise 11.10 154
Casting Classes 155
Inner Classes 156
Creating Inner Classes 156
Anonymous Classes 160
Static Inner Classes 161
Exercise 11.11 161
Answers to the Exercises 162
Review Questions 168
Answers to Review Questions 171
Chapter 12 Packages, Inheritance, and Interfaces 172
Packages 172
Declaring a Package 172
The CLASSPATH Environmental Variable 174
Import Statements 174
Package Naming Conventions 175
Using Packages 176
Exercise 12.1 177
Exercise 12.2 177
Exercise 12.3 177
Exercise 12.4 178
Creating a Package 178
Ordering of a Java Source File 180
Exercise 12.5 180
Exercise 12.6 181
Inheritance 182
Declaring Inheritance 183
Using Inheritance 184
Interfaces 185
Using Interfaces 185
Defining Interfaces 186
Using the Cloneable Interface 187
Exercise 12.7 188
Answers to the Exercises 188
Review Questions 190
Answers to Revie
我来评论这本书
更多图书...
More English Books...
联系客服 - 加入到博客 - 图书目录 - 关于图书城.COM - 对外合作 - 购书指南 - 可以在线阅读吗?
English Version: BookGadget
图书城.COM © TuShuCheng.com - 京ICP备06069800