基本信息
- 原书名:Introduction to Java Programming-Comprehensive Version (6th Edition)
- 原出版社: Prentice Hall

编辑推荐
·基础篇介绍基础内容。进阶篇介绍高级内容。教师可以按需选择理想的教材。
·全面整合了、Java5的特性,并对全书的内容进行了修订和更新。以反映Java程序设计方面的最新技术发展。
·包括面向对象程序设计的深入论述。包含GUI程序设计的基础和扩展实例。
·提供大量实例,实例中都包括问题求解的详细步骤。可激发学习兴趣。
·提供大量难易程度不同的习题,在作者的网站http://www.cs.armstrong.edu/liang/intr06e/index.html中还提供了1000多道自测题。
内容简介
作译者
目录
Chapter 1 Introduction to Computers,Programs,and Java
Chapter 2 Primitive Data Types and Operations
Chapter 3 Selection Statements
Chapter 4 Loops
Chapter 5 Methods
Chapter 6 Arrays
RART 2 OBJECT-ORIENTED PROGRAMMING
Chapter 7 Objects and Classes
Chapter 8 Strings and Text I/O
Chapter 9 Inheritance and Polymorphism
Chapter 10 Abstract Classes and Interfaces
Chapter 11 Object-Oriented Design
RART 3 GU8 PROGRAMMING
Chapter 12 Getting Started with GUI Programming
Chapter 13 Graphics
Chapter 14 Event-Driven Programming
Chapter 15 Creating User Interfaces
Chapter 16 Applets and Multimedia
PART 4 EXCEPTION HANDLING,I/O,AND RECURSION
前言
Versions
The book is available in two versions:
The fundamentals first version (Chapters 1-19)
The comprehensive version (Chapters 1-36)
Teaching Strategies
Both imperative and OOP are important programming paradigms with distinct advantages for certain applications. Some programs should be developed using the imperative approach and others are better developed using the object-oriented approach. Today's students need to know both paradigms and use them effectively: This book introduces both imperative and OOP par-adigms. Students will learn when and how to apply these two paradigms effectively.
There are several strategies in teaching Java. This book adopts file fundamentals-first strat-egy, proceeding at a steady pace through all the necessary and important basic concepts, then moving to object-oriented programming, and then to the use of the object-oriented approach to build interesting GUI applications and at, lets with exception handling, and advanced features.
My own experience, confirmed by the experience of many colleagues, demonstrates that learning basic logic and fundamental programming techniques like loops and step-wise refinement is essential for new programmers to succeed. Students who cannot write code in procedural programming are not able to learn object-oriented programming. A good intro-duction on primitive data types, control statements, methods, and arrays prepares students to learn object-oriented programming.
The fundamentals-first approach reinforces object-oriented programming by first present-ing the procedural solutions and demonstrating how they can be improved using the object-oriented approach. Students can learn when and how to apply OOP effectively.
At every SIG-CSE (Computer Science Education) conference prior to 2005, the object-early approach was trumpeted and the voice for the fundamentals-first approach was muted.This changed when some former proponents of object-early began to air their frustrations and declared that object-early was a failure. This book is fundamentals-first and object-right. OOP is introduced right after fundamental programming techniques are covered. Many instructors of this book, firom research universities to community colleges, have embraced the approach and have succeeded.
Programming isn't just syntax, classes, or objects. It is really problem solving. Loops, methods, and arrays are fundamental techniques for problem solving. From fondemental pro-gramming techniques to object-oriented programming, them are many layers of abstraction Classes are simply a layer of abstraction. Applying the concept of abstraction in the design
and implememation of software projects is the key to developing software. The overriding objective of the book, therefore, is to teachstudents to use many layers of abstraction in solv-ing problems and to see problems in small and in laxge. The examples and exercises through-out the book center on problem solving and foster the concept of developing reusable methods and classes and using them to create practical projects. ..
Learning Strategies
A programming course is quite different from other courses. In a programming course, you learn from examples, from practice, and from mistakes. You need to devote a lot of time to writing programs, testing them, and fixing errors.
For first-time programmers, learning lava is like learning any high-level programming lan-guage. The fundamental point in learning programming is to develop the critical skills of for-mulating programmatic solutions for real problems and translating them into programs using selection statements, loops, and methods.
Once you acquire the basic skills of writing programs using loops, methods, and arrays,you can begin to learn object-oriented programming. You will learn how to develop object-oriented software using class encapsulation and class inheritance.
Once you understand the concept of object-oriented programming, learning Java becomes a matter of learning the Java API. The Java API establishes a framework for programmers to develop applications using Java. You have to use the classes and interfaces in the API and follow their conventions and niles to create applications. The best way to learn the lava API is to imi-tate examples and do exercises. The following diagram highlights the AP1 coveted in the book.
What's New in This Edition?
This edition substantially enhances Introduction to Java Programming, FiSh Edition. The major changes are as follows: