当前位置:
首页 > 教材教辅 > 大学 > Java程序设计(双语版)pdf/doc/txt格式电子书下载

Java程序设计(双语版)pdf/doc/txt格式电子书下载

本站仅展示书籍部分内容

如有任何咨询

请加微信10090337咨询

Java程序设计(双语版)pdf/doc/txt格式电子书下载

书名:Java程序设计(双语版)pdf/doc/txt格式电子书下载

推荐语:

作者:何月顺编

出版社:电子工业出版社

出版时间:2012-06-01

书籍编号:30466908

ISBN:9787121169823

正文语种:中英对照

字数:33479

版次:1

所属分类:教材教辅-大学

全书内容:

Java程序设计(双语版)pdf/doc/txt格式电子书下载






前言


Java语言以它独特的魅力赢得了世界上大部分程序员的认可,它良好的跨平台性、可移植性、安全性等优点使之风靡全球。Sun公司(2009年4月并入甲骨文公司)最初开发Java语言是为了解决智能家用电器的控制和通信问题。随着Internet的发展,Sun公司逐步将Java改造成适合计算机网络应用的程序设计语言。目前Java语言已经成为网络程序设计的主流编程语言之一,在全球云计算和移动互联网的产业环境下,Java更具备了显著优势和广阔前景。


“Java程序设计”是高等院校计算机及相关专业教学计划中的一门重要专业课程,主要内容包括Java语言基本语法、面向对象编程、字符串处理、异常处理、线程、输入输出流、GUI编程、网络编程、数据库编程等内容。


本书采用中英文对照方式对内容进行编排,以英文为主,对重要的、难理解的知识用中文进行了解释,兼顾了英语基础较差的读者。全书图文并茂,通俗易懂,在介绍理论知识的同时穿插了丰富的实例进行讲解,不仅介绍了Java的基础语法,降低了没有编程基础读者学习的难度,又全面介绍了Java面向对象程序设计、多线程、异常处理机制、输入输出流、网络编程等重点内容,使读者学完后能进行初级的Java程序设计。


本书将阐释:


● Java的发展历史及Java特性、Java运行环境及编程工具


● Java语法基础


● Java面向对象编程,包括类、继承、接口、多态等特性


● 多线程编程


● Java异常处理机制


● 输入输出流


● GUI编程


● 网络程序设计


● 数据库访问


本教材基于作者多年来教学实践与改革的经验,以及对开展双语教学的研究,并已经在作者所在学校多次使用之后,特别是收集了学生的反馈意见,教师的教学建议并结合目前国内外Java程序设计优秀教材的优点且考虑到学生对双语课程学习特点而编写。主要特色包括以下几个方面:


(1)中英文结合,突出双语特色。本书以英文为主,中文解释为辅,一方面注重知识点的编排,另一方面也注重英语的应用技巧,可以锻炼读者的英文应用能力。


(2)增强理论与实践相结合,注重引导式讲解。本书对理论知识的讲解采用循序渐进的方式融入大量实例中,使得对理论知识的理解更加容易,并以国外教材常见的step by step的方式完成实例的分析讲解,读者在读完相应的章节后就能进行相应的程序设计。


(3)突出组织逻辑,增加趣味性。目前国内教材和选用的国外经典教材,用于本科教学后,学生普遍反映概念原理介绍过多,内容组织的逻辑思路不是很明显,以及介绍得比较技术性,不是很生动等。针对学生的反馈,本教材进行了改进。


(4)重点突出,本书着重论述了Java语言在多线程编程、异常处理机制、网络编程、数据库访问技术等常用技术,同时对于Java语言的特色技术Applet也进行了介绍,使读者能更全面了解Java的应用。


本书既可作为高等学校Java程序设计或专业英语课程的教材,也可供从事Java程序开发的从业人员学习、参考。


本书由何月顺主编,李祥、张军副主编。高永平、汪雪元、章伟、吴光明、王志波参加了本书的编写工作,并得到Ashok的大力支持,在此表示诚挚的感谢。本书是编写组成员对以上内容大量理论知识与实践经验的积累结果,因时间仓促,可能存在不妥之处,欢迎指正(Email:shipj@phei.com.cn)。


编 者

Foreword


Java is a very appealing language,specific characteristics of which such as cross-platform,portability,security have attracted attention of most programmers in the world.Originally,Java was developed by Sun(Incorporated into the Oracle Corporation in April 2009)to solve problem of control and communication among smart home-appliances.With the development of the Internet,Java was gradually reconstructed into new programming language which can be well suitable for computer network application.Currently Java language has become one of the mainstream programming languages in network programming.Combined with cloud computing technology and global mobile internet,Java\'s advantages and broad prospects will be more obvious.


\"Java Programming\" is a key professional course in teaching plan of software engineering faculty and relative faculty.The main teaching content include the basic syntax of the Java language,object-oriented programming,string manipulation,exception handling,thread,input and output streams,GUI programming,network programming and database programming.


The book is bilingual textbook in which English is first language.For some poor-English reader,some important and difficult contents are translated into Chinese.In the book structure,theoretical concepts are associated with examples and images in order that reader can easily understand these concepts.In addition,for different levels of readers,the book not only narrates Java\'s basic syntax,but also introduces some advanced features of object oriented programming such as multithread,exception handling,input and output streams and network programming.So reader can program after finishing this book.


The main content of the book:


● Java\'s history,runtime environment and programming tools


● Java syntax


● Object-oriented programming including classes,inheritance,interfaces,polymorphism and other features


● Multithread programming


● Exception handling mechanism


● Input output stream


● GUI programming


● Network programming


● Database


The author has extensive bilingual teaching experience.The draft of the book has been used as textbook at author\'s school.Combined with the feedback from students and teachers and other excellent textbook,the first version of the book will be published.


The main feature of the book:


(1)The combination of English and Chinese.English is the first language in the book while some contents are translated into Chinese.The arrangement will not only contribute to understanding knowledge,but also can improve English language proficiency.


(2)The combination of theory and practice.Problem-based learning model is adopted in the book.A large number of examples are integrated with theoretical knowledge so that these knowledge can be more easily understood.The examples in the book are listed in accordance with the step-by-step procedure.So reader can complete appropriate program after finish the corresponding chapter.


(3)The combination of logicality and delight.Traditional textbook,whether home or abroad,focus much attention on concept and notion.It is difficult for the student in the undergraduate level to understand the architecture of knowledge.The abstract contents seriously impact the interest of the students on learning.So these defects are improved in our book.


(4)Emphasizing key contents.The book focuses mainly on the key features of Java language such as multithread programming,exception handling mechanism,network programming and database access technology.In addition,Applet is introduced so that reader can fully understand the Java language.


The book as textbook is available for undergraduate students and beginning graduate students.Java programmers also can refer to the book.


Prof He yue shun as editor in chief guide the whole editing process.Li Xiang and Zhang Jun as deputy editor are in charge of different chapters.At last,several people such as Gao Yong Ping,Wang Xueyuan,Zhang Wei,Ashok,Wu Guangming and Wang Zhibo need to be acknowledged.Those people make this book possible.


Completion of the book is based on theoretical knowledge and practical experience of editor group.Due to time constraint,there are some deficiencies in the book.If you find problem,please contact us!

Chapter 1 Genesis of Java


1.1 Introduction


Java has developed from James Gosling’s vision to a mission that rives the development world today.A high-level programming language developed by Sun Microsystems,Java was originally designed for handheld devices and set-top boxes.Initially titled Oak,in 1995,Sun changed the name to Java and modified the language to take advantage of the opportunities presented by the World Wide Web.


Java is a general programming language,many characteristics of which make it well adapted to the WWW application.Small Java applications known as applets,which can be downloaded from server,run easily on any Java-compatible browser.


So far,Sun Microsystems has published three versions of the Java platform—the Standard Edition(J2SE),the Enterprise Edition(J2EE),and the Micro Edition(J2ME).


到现在为止,Java发布了3个版本:标准版本,企业级版本,移动设备版本。


1.2 Java Development Today


More than ever before,many organizations optimize their internal processes and improve operational efficiency by using Java applications and software.These could form many competitive products such as Java databases,CRM applications,and wireless SFA applications.


As per Sun Microsystems,the Java brand is one of the hottest technology brands in the world,recognized by over 85%of tech-savvy consumers around the globe.Now 10 years old,this cup of our favorite brew truly is hot!It is estimated that Java is driving more than $100 billion of business annually,assisted by over 4.5 million software developers.That’s the power of Java!


Java作为一种比较流行的编程语言,占据了85%的市场,约450万程序员都在使用这种编程工具。


1.3 Evolution of‘C’Based Programming Languages


In 1960s structured programming language was born.This method of programming can be supported by some languages like C.By using this structured language,moderately complex programs can be completed fairly easy.However,even with such a structured programming method,once a project reaches a certain size,its complexity will be far beyond the scope of what a programmer can manage.By the early 1980s,many projects were pushing the structured approach past its limits.To solve this problem,a new method of programming came out.This approach is object-oriented programming.Object-oriented programming can solve complex program based on inheritance,encapsulation,and polymorphism.


In the final analysis,although C is one of the world’s great programming languages,there are some deficiencies such as weaker capability to handle complexity.Once program codes exceed more than 25,000 lines of code,it becomes so complex that it is difficult to control as a totality.OOP programming overcomes this obstacle and manages larger programs.


面向过程编程的缺陷:当程序规模增大时候,复杂度也随之增加,程序员无法控制所写的代码。而面向对象编程可以克服这个缺陷。


1.4 Main Features of Java Programming Language


1.4.1 Portability


Most modern programming languages are designed to be(relatively)easy for people to write and to understand.These languages that were designed for people to read are called high-level languages.The language that the computer can directly understand is called machine language.Machine language or any language similar to machine language is called a low-level language.A program written in a high-level language,like Java,must be translated into a program in machine language before the program can be run.The program that does the translating(or at least most of the translating)is called a compiler and the translation process is called compiling.The Java compiler does not translate your program into the machine language for your particular computer.Instead,it translates your Java program into a language called byte-code(字节码).Byte-code is not the machine language for any particular computer.Byte-code is the machine language for a fictitious computer called the Java Virtual Machine(Java虚拟机).


Java作为一种高级编程语言,具有很强的移植性,通过Java虚拟机可将字节码运行在不同的机器平台上。


The reason is:only the JVM needs to be implemented for each platform.Once the run-time package exists for a given system,any Java program can run on it.Remember,although the details of the JVM will differ from platform to platform,all interpret the same Java bytecode.If a Java program were compiled to native code,then different versions of the same program would have to exist for each type of CPU connected to the Internet.This is,of course,not a feasible solution.Thus,the interpretation of bytecode is the easiest way to create truly port

....

本站仅展示书籍部分内容

如有任何咨询

请加微信10090337咨询

本站仅展示书籍部分内容
如有任何咨询

请加微信10090337咨询

再显示