This book teaches the fundamentals of Java and object-oriented programming using the programming language Java. Designed for readers with no prior knowledge in computer programming, this book is unassummg and is most suitable for teaching Java and object-oriented programming in a progressive manner. It is a book crafted with the novice in mind. Complete source code is provided in every example. Where applicable, screen-shots showing the development of application programs are included to help readers in their practices. If you have no knowledge in writing computer programs and would like a book to guide you in the programming process, then this book is right for you!
本书使用Java语言讲解面向对象的程序开发方法。全书内容共15章,内容包括: Java编程环境;Java组成;表达式、语句和运算符;程序流程控制机制;数组;方法;类和对象;Java应用程序界面(API) ;输入和输出;文件控制;单类继承;封装;多态性;抽象;排序、搜索和递归。本书内容深入浅出,循序渐进,对编程过程的每一步均给出详细的指导,每个范例均提供完整的源代码,非常适合于没有编程知识的初学者学习Java语言编程方法。
本书可作为高等院校相关专业本科生Java语言程序设计课程教材,也可作为软件开发设计人员学习Java面向对象编程方法的自学参考书。
CHAPTER 1 The Java Programming Environment
CHAPTER 2 The Java Language Components
CHAPTER 3 Expressions, Statements and Operators
CHAPTER 4 Program Flow Controls
CHAPTER 5 Arrays
CHAPTER 6 Methods
CHAPTER 7 Class and Objects
CHAPTER 8 The Java Application Programming Interface (API)
CHAPTER 9 Inputs and Outputs
CHAPTER 10 File Handling
CHAPTER 11 Inheritance
CHAPTER 12 Encapsulation
CHAPTER 13 Polymorphism
CHAPTER 14 Interface
CHAPTER 15 Sorting, Searching, and Recursion