Java程序設(shè)計教程

出版時間:2012-3  出版社:電子工業(yè)出版社  作者:(美)劉易斯,(美)洛夫特斯 著  頁數(shù):828  

內(nèi)容概要

  《國外計算機科學(xué)教材系列:Java程序設(shè)計教程(第七版)(英文版)》對面向?qū)ο蟮乃枷牒蜋C制進行了準(zhǔn)確而透徹的剖析,為讀者深入學(xué)習(xí)Java語言程序設(shè)《國外計算機科學(xué)教材系列:Java程序設(shè)計教程(第七版)(英文版)》對面向?qū)ο蟮乃枷牒蜋C制進行了準(zhǔn)確而透徹的剖析,為讀者深入學(xué)習(xí)Java語言程序設(shè)計提供了全面、詳細的指導(dǎo)。全書覆蓋了面向?qū)ο笤O(shè)計的廣泛內(nèi)容,介紹了Java語言的基本數(shù)據(jù)類型、流程控制、類和對象等。在深入分析面向?qū)ο笤O(shè)計方法的基礎(chǔ)上,介紹了封裝機制、繼承機制和多態(tài)性的實現(xiàn)與應(yīng)用、異常的捕捉和處理、集合類的定義方法和泛型類的概念,書中提供了大量具有可實踐性的程序?qū)嵗?、自測題及答案、練習(xí)題和編程項目、生動的“軟件失誤案例”和“視頻講解”學(xué)習(xí)輔導(dǎo)短片,并且在每章中都補充了針對本章主題的圖形用戶界面(GUI)設(shè)計知識和實例,這部分內(nèi)容可形成完整的Java
GUI設(shè)計知識體系。此外,本書還有內(nèi)容豐富的附錄,并提供了在線程序設(shè)計實踐網(wǎng)站服務(wù)。

作者簡介

作者:(美國)約翰?劉易斯(John Lewis) (美國)威廉?洛夫特斯(William Loftus)

書籍目錄

第1章 計算機系統(tǒng)概述
 1.1 計算機處理過程
  1.1.1 軟件的分類
  1.1.2 數(shù)字計算機
  1.1.3 二進制數(shù)
  自測題
 1.2 硬件組件
  1.2.1 計算機結(jié)構(gòu)
  1.2.2 輸入/輸出設(shè)備
  1.2.3 主存儲器和輔助存儲器
  1.2.4 中央處理器
  自測題
 1.3 網(wǎng)絡(luò)
  1.3.1 網(wǎng)絡(luò)連接
  1.3.2 局域網(wǎng)和廣域網(wǎng)
  1.3.3 因特網(wǎng)
  1.3.4 萬維網(wǎng)
  1.3.5 統(tǒng)一資源定位器
  自測題
 1.4 Java程序設(shè)計語言
  1.4.1 Java程序
  1.4.2 注釋
  1.4.3 標(biāo)志符和保留字
  1.4.4 空白符
  自測題
 1.5 程序開發(fā)
  1.5.1 編程語言級別
  1.5.2 編輯器、編譯器和解釋器
  1.5.3 開發(fā)環(huán)境
  1.5.4 語法和語義
  1.5.5 錯誤
  自測題
 1.6 面向?qū)ο缶幊?br />  1.6.1 問題求解
  1.6.2 面向?qū)ο蟮能浖?br />  自測題
  關(guān)鍵概念總結(jié)
  練習(xí)題
  編程項目
第2章 數(shù)據(jù)與表達式
 2.1 字符串
  2.1.1 print和println方法
  2.1.2 字符串拼接
  2.1.3 轉(zhuǎn)義序列
  自測題
 2.2 變量與賦值
  2.2.1 變量
  2.2.2 賦值語句
  2.2.3 常量
  自測題
 2.3 基本數(shù)據(jù)類型
  2.3.1 整型與浮點型
  2.3.2 字符型
  2.3.3 布爾型
  自測題
 2.4 表達式
  2.4.1 算術(shù)運算符
  2.4.2 運算符優(yōu)先級
  2.4.3 自增和自減運算符
  2.4.4 賦值運算符
  自測題
 2.5 數(shù)據(jù)類型轉(zhuǎn)換
  2.5.1 類型轉(zhuǎn)換的安全性
  2.5.2 數(shù)據(jù)類型轉(zhuǎn)換技術(shù)
  自測題
 2.6 交互程序
  自測題
 2.7 圖形
  2.7.1 坐標(biāo)系統(tǒng)
  2.7.2 顏色表示方法
  自測題
 2.8 Javaapplet
  2.8.1 Javaapplet的基本概念
  2.8.2 利用Web執(zhí)行Javaapplet
  自測題
 2.9 繪圖
  自測題
  關(guān)鍵概念總結(jié)
  練習(xí)題
  編程項目
  軟件失誤案例:NASA火星氣象觀測
  衛(wèi)星和火星極地登陸者號
第3章 使用類和對象
第4章 編寫類
第5章 條件判斷和循環(huán)
第6章 深入的條件判斷和循環(huán)
第7章 面向?qū)ο笤O(shè)計
第8章 數(shù)組
第9章 繼承
第10章 多態(tài)性
第11章 異常
第12章 遞歸 

章節(jié)摘錄

版權(quán)頁:   插圖:   1.1 Computer Processing We begin our exploration of computer systems with an overview of computer processing, defining some fundamental terminology and showing how the key pieces of a computer system interact. A computer system is made up of hardware and software. The hardware components of a computer system are the physical, angible pieces that support the computing effort. They include chips, boxes, wires, keyboards, speakers, disks,memory cards, USB lash drives (also called jump drives), cables, plugs, printers,mice, monitors, routers, and so on. If you can physically touch it and it can be considered part of a computer system, then it is computer hardware. The hardware components of a computer are essentially useless without instructions to tell them what to do. A program is a series of instructions that the hardware executes one after another. Software consists of programs and the data those rograms use. Software is the intangible counterpart to the physical hardware components.Together they form a tool that we can use to help solve problems.The key hardware components in a computer system are central processing unit (CPU)input/output(I/O) devices main memory secondary memory devices Each of these hardware components is described in detail in the next section. For now, let's simply examine their basic oles. The central processing unit (CPU) is the device that executes the individual commands of a program. Input/output (I/O) devices, such as the keyboard, mouse, and monitor, allow a human being to interact with the computer. Programs and data are held in storage devices called memory, which fall into two categories: main memory and secondary memory. Main memory is the storage device that holds the software while it is being processed by the CPU. Secondary memory devices store software in a relatively permanent manner. The most important secondary memory device of a typical computer system is the hard disk that resides inside the main computer box. A USB flash drive is also an important secondary memory device. A typical USB flash drive cannot store nearly as much information as a hard disk. USB flash drives have the advantage of portability; they can be removed temporarily or moved from computer to computer as needed. Another portable secondary memory device is the compact disc (CD).

編輯推薦

《Java程序設(shè)計教程(第7版)(英文版)》改變了人們對整個初級程序開發(fā)課程的學(xué)習(xí)觀念,是為全面透徹學(xué)習(xí)Java而編寫的一本專業(yè)書。在第七版中為正在學(xué)習(xí)Java的人們添加了許多非常實用的內(nèi)容,使得此書繼續(xù)在計算機科學(xué)的教育領(lǐng)域內(nèi)處于領(lǐng)先的地位?!禞ava程序設(shè)計教程(第7版)(英文版)》可為學(xué)習(xí)編程技術(shù)的讀者打下堅實的基礎(chǔ),從而設(shè)計出良好的面向?qū)ο筌浖?。通過講解各種真實世界的編程實例,作者在書中強調(diào)了如何創(chuàng)建問題解決方案及如何應(yīng)用設(shè)計技巧。此外,書中提供了大量與開發(fā)相關(guān)的技術(shù)要點提示,同時配合實用、有效的GUI應(yīng)用程序,使讀者能夠迅速掌握并鞏固所學(xué)的知識。

圖書封面

評論、評分、閱讀與下載


    Java程序設(shè)計教程 PDF格式下載


用戶評論 (總計1條)

 
 

  •   非常喜歡這本書,適合于初學(xué)者!
 

250萬本中文圖書簡介、評論、評分,PDF格式免費下載。 第一圖書網(wǎng) 手機版

京ICP備13047387號-7