出版時(shí)間:2008-4 出版社:人民郵電 作者:扎克霍爾 頁數(shù):637 字?jǐn)?shù):878000
Tag標(biāo)簽:無
內(nèi)容概要
本書是Sun公司指定Java教程的最新版。書中除了講解面向?qū)ο蟮木幊谈拍?、語言基礎(chǔ)、類和對(duì)象、接口和繼承、包、數(shù)字和字符串、異常、基本I/O、集合、并發(fā)、Swing、把程序打包到JAR文件中、applet之外,還介紹了Java Web Start、平臺(tái)環(huán)境和正則表達(dá)式,同時(shí)涵蓋了Java 5.0和6.0引入的新特性,比如泛型和并發(fā)、注解。附錄B中還給出如何準(zhǔn)備Java編程語言認(rèn)證考試方面的內(nèi)容。此外,本書配套的網(wǎng)上資源還包含本書的示例以及問題和練習(xí)的答案、在線Java SE指南、Java SE開發(fā)工具包(Java SE Development Kit,JDK)、相應(yīng)的API規(guī)范和指導(dǎo)文檔等?! ”緯冗m合作為高校相關(guān)專業(yè)Java程序設(shè)計(jì)語言課程的教材,也適合各種層次的Java程序員閱讀。
書籍目錄
Chapter 1 Getting Started The Java Technology Phenomenon About the Java Technology What Can Java Technology Do? How Will Java Technology Change My Life? The “Hello World!” Application “Hello World!” for the NetBeans IDE “Hello World!” for Microsoft Windows “Hello World!” for Solaris OS and Linux A Closer Look at the “Hello World!” Application Source Code Comments The HelloWorldApp Class Definition The main Method Common Problems (and Their Solutions) Compiler Problems Runtime Problems Questions and Exercises: Getting Started Chapter 2 Object-Oriented Programming Concepts What Is an Object? What Is a Class? What Is Inheritance? What Is an Interface? What Is a Package? Questions and Exercises: Object-Oriented Programming Concepts Chapter 3 Language Basics Variables Naming Primitive Data Types Arrays Summary of Variables Questions and Exercises: Variables Operators Assignment, Arithmetic, and Unary Operators Equality, Relational, and Conditional Operators Bitwise and Bit Shift Operators Summary of Operators Questions and Exercises: Operators Expressions, Statements, and Blocks Expressions Statements Blocks Questions and Exercises: Expressions, Statements, and Blocks Control Flow Statements The if-then and if-then-else Statements The switch Statement The while and do-while Statements The for Statement Branching Statements Summary of Control Flow Statements Questions and Exercises: Control Flow Statements Chapter 4 Classes and Objects Classes Declaring Classes Declaring Member Variables Defining Methods Providing Constructors for Your Classes Passing Information to a Method or a Constructor Objects Creating Objects Using Objects More on Classes Returning a Value from a Method Using the this Keyword Controlling Access to Members of a Class Understanding Instance and Class Members Initializing Fields Summary of Creating and Using Classes and Objects Questions and Exercises: Classes Questions and Exercises: Objects Nested Classes Why Use Nested Classes? Static Nested Classes Inner Classes Inner Class Example Summary of Nested Classes Questions and Exercises: Nested Classes Enum Types Questions and Exercises: Enum Types Annotations Documentation Annotations Used by the Compiler Annotation Processing Questions and Exercises: Annotations Chapter 5 Interfaces and InheritanceChapter 6 Generics Chapter 7 Packages Chapter 8 Numbers and Strings Chapter 9 Exceptions Chapter 10 Basic I/O Chapter 11 Collections Chapter 12 Concurrency Chapter 13 Regular Expressions Chapter 14 The Platform Environment Chapter 15 Swing Chapter 16 Packaging Programs in JAR Files Chapter 17 Java Web Start Chapter 18 Applets Appendix A Java Language Keywords Appendix B Preparation for Java Programming Language Certification Index
編輯推薦
“本書循序漸進(jìn)地引導(dǎo)讀者成為基礎(chǔ)扎實(shí)、深思熟慮的Java程序員,既適合自學(xué),也可以用于各種教學(xué)場(chǎng)合?!薄 狥rancis Glassborow,C/C++用戶協(xié)會(huì)前主席 本書是Sun公司指定的Java語言入門教程,由Java語言和平臺(tái)開發(fā)團(tuán)隊(duì)的多位成員親自撰寫。并由眾多世界級(jí)JaVa專家精心審稿,有力地保證了權(quán)威性和準(zhǔn)確性,多年來引領(lǐng)了一批又一批程序員步入Java殿堂。 作為最新版本,本書涵蓋了Java SE 6,增加了講述泛型、集合、Java Web Start、平臺(tái)環(huán)境和正則表達(dá)式的章節(jié),并大幅改寫了線程、I/0、面向?qū)ο缶幊谈拍詈驼Z言基礎(chǔ)等內(nèi)容。本書采用久經(jīng)檢驗(yàn)的交互式教學(xué)方法,秉承了使此前各版本成為經(jīng)典的各項(xiàng)特色,是Java程序員由入門到精通的絕佳選擇。
圖書封面
圖書標(biāo)簽Tags
無
評(píng)論、評(píng)分、閱讀與下載
Java語言導(dǎo)學(xué)(第4版)(英文版) PDF格式下載