


定价:35元
印次:1-1
ISBN:9787302207221
出版日期:2010.01.01
印刷日期:2009.12.23
图书责编:杨帆
图书分类:教材
本书使用Java语言讲解面向对象的程序开发方法。全书内容共15章,内容包括: Java编程环境;Java组成;表达式、语句和运算符;程序流程控制机制;数组;方法;类和对象;Java应用程序界面(API) ;输入和输出;文件控制;单类继承;封装;多态性;抽象;排序、搜索和递归。本书内容深入浅出,循序渐进,对编程过程的每一步均给出详细的指导,每个范例均提供完整的源代码,非常适合于没有编程知识的初学者学习Java语言编程方法。 本书可作为高等院校相关专业本科生Java语言程序设计课程教材,也可作为软件开发设计人员学习Java面向对象编程方法的自学参考书。
Who Should Read This Book This book teaches Java programming with a focus on object-oriented programming using the Java programming language. Designed for readers with no prior knowledge in computer programming, this book is unassuming and is most suitable for teaching Java at the undergraduate level. Complete source code is provided in every example and where applicable, screen-shots are used to as an added help for readers in their practical exercises. Topic Covered in This Book Topics covered include: the Java programming environment; the Java language components which include variables; data structures; data types and their declaration; expressions, statements, and operators; program ...
1.1 History of Java2
1.2 Preparing to Write Java Programs2
1.3 A Simple Java Program3
1.4 How to Run a Java Program?4
1.5 Commonly Encountered Problems5
Workshops5
Workshop 1.1: Preparing the Environment for Java Programming5
Workshop 1.2: How to Run a Java Program?10
Workshop 1.3: How to Compile and Run a Java Program in DOS
Prompt?12
Exercises13
CHAPTER 2 The Java Language Components
2.1 Print2Numbers Java Program17
2.2 The Java Vocabulary and Character Sets19
2.3 Primitive Data Types19
2.3.1 Boolean20
2.3.2 Characters20
2.3.3 Integers21
2.3.4 Floating Point22
2.3.5 Object References22
2.3.6 String22
2.4 Identifiers22
2.5 Re... 查看详情




