《国外计算机科学教材系列:Java大学教程(第8版)(英文版)》是关于Java语言的权威教材,秉承Deitel系列丛书的一贯特点:内容丰富、覆盖面广,提供详细代码与实例研究,总结出大量的面向对象编程技巧和经验。本书详细说明了在Java中面向对象编程的基本理论及实用知识,以初学者为起点,由点到面、由浅入深、循序渐进地介绍了事件处理、对象、接口、内置类、继承、多态性、数据结构和集合、流文件、applet、图形界面及多线程等多种Java特性。第八版在前一版的基础上增加了更多的实际案例,更新了很多内容,有助于读者学习和借鉴。
《国外计算机科学教材系列:Java大学教程(第8版)(英文版)》包括更广泛的教学特性,其中列举了数百个可实际使用的程序实例,并给出其实际的运行结果,可以使学生在学习时更为直观。
《国外计算机科学教材系列:Java大学教程(第8版)(英文版)》结构清晰、逻辑性强,适合作为相关专业Java程序设计课程的双语教材,是所有对Java编程感兴趣的读者的有益参考书,也可供各类软件开发人员参考。
Welcome to Java and Java How to Program,Eighth Edition! This book presents leading?edge computing technologies for students,instructors,software developers and IT professionals. We use the Deitel signature “live?code approach,” presenting most concepts in the context of complete working Java programs,rather than using code nippets. Each code example is immediately followed by one or more sample executions. All the source code is available at.
At Deitel & Associates,we write programming?language textbooks and professional books for Pearson/Prentice Hall,deliver corporate training courses worldwide and develop Web 2.0 Internet businesses. We have updated the previous edition of this book based on recent changes to the Java language and the evolving preferred ways of teaching and learning programming. All of the chapters have been significantly tuned.
New and Updated Features Here are the updates weve made for Java How to Program:
●The book has a new interior design that graphically organizes,clarifies and highlights the information and enhances the books pedagogy.
●We updated the entire book to Java Standard Edition 6 Update 11 and carefully audited the manuscript against the Java Language Specification.
●We added the “Making a Difference” exercises set: Students want to make a difference. We?re encouraging them to associate computers and the Internet.
with solving problems that really matter to individuals,communities,countries and the world. We hope that our new exercises encourage students to think for themselves as they explre complex social issues. These exercises are not intended to make a political statement. They are meant to increase awareness of important issues the world is facing. Students should approach these issues in the context of their own values,politics and beliefs. Many of the new exercises require students to do research on the web—and weave the results into their problemsolving process. Heres a list of the 34 new “Making a Difference” exercises:
Test Drive: Carbon Footprint Calculator
Test Drive: Body Mass Index Calculator
Attributes of Hybrid Vehicles
Gender Neutrality
Body Mass Index Calculator
World Population Growth Calculator
Car Pool Savings Calculator
Target Heart Rate Calculator
Computerization of Health Records
Enforcing Privacy with Cryptography
World Population Growth
Global Warming Facts Quiz
Tax Plan Alternatives; The “Fair Tax”
Computer Assisted Instruction
Computer Assisted Instruction: Reducing Student Fatigue
Computer Assisted Instruction: Monitoring Student Performance
Computer Assisted Instruction: Difficulty Levels
Computer Assisted Instruction: Varying the Types of Problems
Polling
Air Traffic Control
Carbon Footprint Interface: Polymorphism
Ecofont
Typing Tutor: Tuning a Crucial Skill in the Computer Age
Large Type Displays for People with Low Vision
Cooking with Healthier Ingredients
Spam Scanner
Phishing Scanner
Accessibility Project: Speech Synthesis
Accessibility Project: Speech Recognition
Project: Simbad Robotics Simulator
SPAM Scanner Web Service
SMS Web Service
Gender Neutrality Web Service
We tuned the optional Object?Oriented Design/UML 2 automated teller machine (ATM) case study and reorganized it into two optional chapters (12 and 13) that present the ATMs design and complete code implementation. The ATM is a nice business example that all students can relate to. In our experience,teaching these two chapters as a unit helps students tie together many of the object oriented concepts they learn in Chapters 1-10. A key concept in object?oriented programming is the interactions among objects. In most programming textbooks, the code examples create and use one or two objects. The ATM gives students the opportunity to study interactions of many objects that provide the functionality of a substantial system. Chapters 12 and 13 provide complete solutions to all of their exercises. Previously, the case study was distributed through Chapters 2-8,10 and an appendix. For instructors who wish to cover the case study in a d.
Chapter 1 Introduction to Computers,the Internet and the Web
1.1 Introduction
1.2 Computers: Hardware and Software
1.3 Computer Organization
1.4 Early Operating Systems
1.5 Personal,Distributed and Client/Server Computing
1.6 The Internet and the World Wide Web
1.7 Machine Languages,Assembly Languages and High?Level Languages
1.8 History of C and C++
1.9 History of Java
1.10 Java Class Libraries
1.11 Fortran,COBOL,Pascal and Ada
1.12 BASIC,Visual Basic,Visual C++,C# and.NET
1.13 Typical Java Development Environment
1.14 Notes about Java and Java How to Program,Eighth Edition
1.15 Test?Driving a Java Application
1.16 Software Engineering Case Study: Introduction to Object Technology and the UML
1.17 Web 2.0
1.18 Software Technologies
1.19 Wrap?Up
1.20 Web Resources
Chapter 2 Introduction to Java Applications
2.1 Introduction
2.2 Our First Program in Java: Printing a Line of Text
2.3 Modifying Our First Java Program
2.4 Displaying Text with printf
2.5 Another Application: Adding Integers
2.6 Memory Concepts
2.7 Arithmetic
2.8 Decision Making: Equality and Relational Operators
2.9 Wrap Up Chapter 3 Introduction to Classes and Objects
3.1 Introduction
3.2 Classes,Objects,Methods and Instance Varibles
3.3 Declaring a Class with a Method and Instantiating an Object of a Class
3.4 Declaring a Method with a Parameter
3.5 Instance Variables,set Methods and get Methods
3.6 Primitive Types vs. Reference Types
3.7 Initializing Objects with Constructors
3.8 Floating?Point Numbers and Type double
3.9 (Optional) GUI and Graphics Case Study: Using Dialog Boxes
3.10 Wrap?Up
Chapter 4 Control Statements: Part 1
4.1 Introduction
4.2 Algorithms
4.3 Pseudocode
4.4 Control Structures
4.5 if Single?Selection Statement
4.6 if...else Double?Selection Statement
4.7 while Repetition Statement
4.8 Formulating Algorithms: Counter?Controlled Repetition
4.9 Formulating Algorithms: Sentinel?Controlled Repetition
4.10 Formulating Algorithms: Nested Control Statements
4.11 Compound Assignment Operators
4.12 Increment and Decrement Operators
4.13 Primitive Types
4.14 (Optional) GUI and Graphics Case Study: Creating Simple Drawings
4.15 Wrap?Up
Chapter 5 Control Statements:Part 2
5.1 Introduction
5.2 Essentials of Counter?Controlled Repetition
5.3 for Repetition Statement
5.4 Examples Using the for Statement
5.5 do...while Repetition Statement
5.6 switch Multiple?Selection Statement
5.7 break and continue Statements
5.8 Logical Operators
5.9 Structured Programming Summary
5.10 (Optional) GUI and Graphics Case Study: Drawing Rectangles and Ovals
5.11 Wrap?Up
Chapter 6 Methods:A Deeper Look
6.1 Introduction
6.2 Program Modules in Java
6.3 static Methods,static Fields and Class Math
6.4 Declaring Methods with Multiple Parameters
6.5 Notes on Declaring and Using Methods
6.6 Method?Call Stack and Activation Records
6.7 Argument Promotion and Casting
6.8 Java API Packages
6.9 Case Study: Random?Number Generation
6.10 Case Study: A Game of Chance; Introducing Enumerations
6.11 Scope of Declarations
6.12 Method Overloading
6.13 (Optional) GUI and Graphics Case Study: Colors and Filled Shapes
6.14 Wrap?Up
Chapter 7 Arrays and ArrayLists
7.1 Introduction
7.2 Arrays
7.3 Declaring and Creating Arrays
7.4 Examples Using Arrays
7.5 Case Study: Card Shuffling and Dealing Simulation
7.6 Enhanced for Statement
7.7 Passing Arrays to Methods
7.8 Case Study: Class GradeBook Using an Array to Store Grades
7.9 Multidimensional Arrays
7.10 Case Study: Class GradeBook Using a Two?Dimensional Array
7.11 Variable?Length Argument Lists
7.12 Using Command?Line Arguments
7.13 Class Arrays
7.14 Introduction to Collections and Class ArrayList
7.15 (Optional) GUI and Graphics Case Study: Drawing Arcs
7.16 Wrap?Up
Chapter 8 Classes and Objects: A Deeper Look
8.1 Introduction
8.2 Time Class Case Study
8.3 Controlling Access to Members
8.4 Referring to the Current Object?s Members with the this Reference
8.5 Time Class Case Study: Overloaded Constructors
8.6 Default and No?Argument Constructors
8.7 Notes on Set and Get Methods
8.8 Composition
8.9 Enumerations
8.10 Garbage Collection and Method finalize
8.11 static Class Members
……