Java2考試指南

出版時(shí)間:2002-4  出版社:電子工業(yè)  作者:(美)william stanek  頁(yè)數(shù):567  字?jǐn)?shù):924  

內(nèi)容概要

這是一本代碼詳盡的程序開發(fā)人員用書,其最大特點(diǎn)是使用大量“商業(yè)級(jí)”的程序代碼來(lái)傳授企業(yè)應(yīng)用程序的開發(fā)技巧。書中所有的示例都分別提供C#和Visual Basic.NET兩種語(yǔ)言的代碼,便于讀者的對(duì)比學(xué)習(xí)。本書的第一部分簡(jiǎn)明地介紹了ASP.NET框架,第二部分以大量的代碼實(shí)例討論ASP.NET的各個(gè)方面,最后是使用廣泛的Microsoft .NET名字空間的完全參考。本書涉及ASP.NET的全面細(xì)節(jié),主要包括通用語(yǔ)言運(yùn)行時(shí)、確認(rèn)控件、Web控件、列表控件、用戶控件、組件構(gòu)建、ADO.NET和XML Web服務(wù)等。
代碼詳盡是本書的特點(diǎn),書中的代碼可以從原出版商的站點(diǎn)下載。本書是Web開發(fā)人員編程中隨時(shí)查閱的必備手冊(cè)用書。

書籍目錄

Introduction 1
Part I Studying for the Programmer誷 Exam 7
Chapter 1 Programmer Exam Roadmap 8
What Is the Programmer Exam Like? 8
What誷 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誶e Done? 16
Sun誷 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誷 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

圖書封面

評(píng)論、評(píng)分、閱讀與下載


    Java2考試指南 PDF格式下載


用戶評(píng)論 (總計(jì)0條)

 
 

 

250萬(wàn)本中文圖書簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7