|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

Starting Out with Java: From Control Structures through Objects, 4/E
Tony GaddisHaywood Community College

ISBN-10: 0136080200
ISBN-13:  9780136080206

Publisher:  Addison-Wesley
Copyright:  2010
Format:  Paper Bound w/CD-ROM; 1008 pp
Published:  01/22/2009
Status: Instock


Suggested retail price: $105.00
Buy from myPearsonStore



Tony Gaddis’s accessible, step-by-step style helps beginning students understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and a programming language by presenting all the details needed to understand the “how” and the “why”–but never losing sight of the fact that most beginners struggle with this material. His approach is both gradual and highly accessible, ensuring that students get the logic behind developing high-quality programs.

In Starting Out with Java: From Control Structures through Objects, Gaddis covers procedural programming–control structures and methods–before introducing object-oriented programming. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter.

  • Procedural programming — control structures and methods —is covered before objects ensuring that students understand fundamental programming and problem-solving concepts.
  • The Fourth Edition is fully compatible with both Java (J2SE) 5.0 and the new version, Java 6.0.
  • A clear and student-friendly writing style with stepped-out explanations motivates beginning programmers.
  • Concise and practical real-world examples that students understand and relate to are included to foster motivation and retention.
  • A variety of exercises in each chapter encourages students to put concepts to work as they are learned.
  • Each new copy of the Fourth Edition comes with a Student Resource Disk that includes source code, appendices, case studies, and multiple Java development platforms.
  • MyCodeMate, available for the Fourth Edition, is a Web-based, textbook-specific homework tool and programming resource for an introduction to programming course. It provides a wide range of tools that students can use to help them learn programming concepts, prepare for tests, and earn better grades in the introductory programming course. Students can work on programming problems from this text or homework problems created by their professors, and receive guided hints with page references and English explanations of compiler errors. Instructors can assign textbook-specific or self-created homework problems, preset style attributes, view students’ code and class compiler error logs, and track homework completion. A complimentary subscription is offered when an access code is ordered packaged with a new copy of this text. Subscriptions may also be purchased online. For more information visit www.myCodeMate.com.
  • Tony Gaddis’s best-selling Starting Out with series of textbooks provides accessible, detailed presentations of programming concepts using an approach that will increase confidence and competence in novice programmers. The Starting Out with series includes books on Alice, Python, Visual Basic®, C++, Java™, and Programming Logic & Design. View other titles in the series at the Gaddis Books website.
     

  • New VideoNotes, created by author Tony Gaddis, provide extra examples and demonstrate how to solve problems. Icons throughout the text indicate that a VideoNote accompanies a particular topic. The VideoNotes are available to instructors and students through an open-access website, or on CD.
  • In the Spotlight features in the first eight foundational chapters walk students through the design of a problem by showing all steps.
  • New Programming Problems have been added throughout the book.
  • Refinements in the presentation of select topics, including decision structures, make explanations more clear.

Preface

Chapter 1 Introduction to Computers and Java
1.1 Introduction
1.2 Why Program?
1.3 Computer Systems: Hardware and Software
1.4 Programming Languages
1.5 What Is a Program Made of?
1.6 The Programming Process
1.7 Object-Oriented Programming

Chapter 2 Java Fundamentals
2.1 The Parts of a Java Program
2.2 The print and println Methods, and the Java API
2.3 Variables and Literals
2.4 Primitive Data Types
2.5 Arithmetic Operators
2.6 Combined Assignment Operators
2.7 Conversion between Primitive Data Types
2.8 Creating Named Constants with final
2.9 The String Class
2.10 Scope
2.11 Comments
2.12 Programming Style
2.13 Reading Keyboard Input
2.14 Dialog Boxes
2.15 Common Errors to Avoid

Chapter 3 Decision Structures
3.1 The if Statement
3.2 The if-else Statement
3.3 The if-else-if Statement
3.4 Nested if Statements
3.5 Logical Operators
3.6 Comparing String Objects
3.7 More about Variable Declaration and Scope
3.8 The Conditional Operator (Optional)
3.9 The switch Statement
3.10 Creating Objects with the DecimalFormat Class
3.11 The printf Method
3.12 Common Errors to Avoid

Chapter 4 Loops and Files
4.1 The Increment and Decrement Operators
4.2 The while Loop
4.3 Using the while Loop for Input Validation
4.4 The do-while Loop
4.5 The for Loop
4.6 Running Totals and Sentinel Values
4.7 Nested Loops
4.8 The break and continue Statements (Optional)
4.9 Deciding Which Loop to Use
4.10 Introduction to File Input and Output
4.11 The Random Class
4.12 Common Errors to Avoid

Chapter 5 Methods
5.1 Introduction to Methods
5.2 Passing Arguments to a Method
5.3 More about Local Variables
5.4 Returning a Value from a Method
5.5 Problem Solving with Methods
5.6 Common Errors to Avoid

Chapter 6 A First Look at Classes
6.1 Classes and Objects
6.2 Instance Fields and Methods
6.3 Constructors
6.4 Overloading Methods and Constructors
6.5 Scope of Instance Fields
6.6 Packages and import Statements
6.7 Focus on Object-Oriented Design: Finding the Classes and Their Responsibilities
6.8 Common Errors to Avoid

Chapter 7 A First Look at GUI Applications
7.1 Introduction
7.2 Creating Windows
7.3 Equipping GUI Classes with a main Method
7.4 Layout Managers
7.5 Radio Buttons and Check Boxes
7.6 Borders
7.7 Focus on Problem Solving: Extending Classes from JPanel
7.8 Splash Screens
7.9 Using Console Output to Debug a GUI Application
7.10 Common Errors to Avoid

Chapter 8 Arrays and the ArrayList Class
8.1 Introduction to Arrays
8.2 Processing Array Elements
8.3 Passing Arrays As Arguments to Methods
8.4 Some Useful Array Algorithms and Operations
8.5 Returning Arrays from Methods
8.6 String Arrays
8.7 Arrays of Objects
8.8 The Sequential Search Algorithm
8.9 Two-Dimensional Arrays
8.10 Arrays with Three or More Dimensions
8.11 The Selection Sort and the Binary Search Algorithms
8.12 Command-Line Arguments and Variable-Length Argument Lists
8.13 The ArrayList Class
8.14 Common Errors to Avoid

Chapter 9 A Second Look at Classes and Objects
9.1 Static Class Members
9.2 Passing Objects As Arguments to Methods
9.3 Returning Objects from Methods
9.4 The toString Method
9.5 Writing an equals Method
9.6 Methods That Copy Objects
9.7 Aggregation
9.8 The this Reference Variable
9.9 Enumerated Types
9.10 Garbage Collection
9.11 Focus on Object-Oriented Design: Class Collaboration
9.12 Common Errors to Avoid

Chapter 10 Text Processing and More about Wrapper Classes
10.1 Introduction to Wrapper Classes
10.2 Character Testing and Conversion with the Character Class
10.3 More String Methods
10.4 The StringBuilder Class
10.5 Tokenizing Strings
10.6 Wrapper Classes for the Numeric Data Types
10.7 Focus on Problem Solving: The TestScoreReader Class
10.8 Common Errors to Avoid

Chapter 11 Inheritance
11.1 What Is Inheritance?
11.2 Calling the Superclass Constructor
11.3 Overriding Superclass Methods
11.4 Protected Members
11.5 Chains of Inheritance
11.6 The Object Class
11.7 Polymorphism
11.8 Abstract Classes and Abstract Methods
11.9 Interfaces
11.10 Common Errors to Avoid

Chapter 12 Exceptions and Advanced File I/O
12.1 Handling Exceptions
12.2 Throwing Exceptions
12.3 Advanced Topics: Binary Files, Random Access Files, and Object Serialization
12.4 Common Errors to Avoid

Chapter 13 Advanced GUI Applications
13.1 The Swing and AWT Class Hierarchy
13.2 Read-Only Text Fields
13.3 Lists
13.4 Combo Boxes
13.5 Displaying Images in Labels and Buttons
13.6 Mnemonics and Tool Tips
13.7 File Choosers and Color Choosers
13.8 Menus
13.9 More about Text Components: Text Areas and Fonts
13.10 Sliders
13.11 Look and Feel
13.12 Common Errors to Avoid

Chapter 14 Applets and More
14.1 Introduction to Applets
14.2 A Brief Introduction to HTML
14.3 Creating Applets with Swing
14.4 Using AWT for Portability
14.5 Drawing Shapes
14.6 Handling Mouse Events
14.7 Timer Objects
14.8 Playing Audio
14.9 Common Errors to Avoid

Chapter 15 Recursion
15.1 Introduction to Recursion
15.2 Solving Problems with Recursion
15.3 Examples of Recursive Methods
15.4 A Recursive Binary Search Method
15.5 The Towers of Hanoi
15.6 Common Errors to Avoid

Student CD-ROM:

Appendix A Getting Started with Alice

Appendix B The ASCII/Unicode Characters
Appendix C Operator Precedence and Associativity
Appendix D Java Key Words
Appendix E Installing the JDK and JDK Documentation
Appendix F Using the javadoc Utility
Appendix G More about the Math Class
Appendix H Packages
Appendix I Working with Records and Random Access Files
Appendix J More about JOptionPane Dialog Boxes
Appendix K Answers to Checkpoints
Appendix L Answers to Odd-Numbered Review Questions
Case Study 1 Calculating Sales Commission
Case Study 2 The Amortization Class
Case Study 3 The PinTester Class
Case Study 4 Parallel Arrays
Case Study 5 The FeetInches Class
Case Study 6 The SerialNumber Class
Case Study 7 A Simple Text Editor Application

  • 9780321479273
    Starting Out with Java: From Control Structures through Objects, 3/E
    Gaddis
    ©2008 | Addison-Wesley | Paper Bound w/CD-ROM; 987 pp | Out of Print
    ISBN-10: 0321479270 | ISBN-13: 9780321479273
    Brief Description

Tony Gaddis is the principal author of the Starting Out with series of textbooks. He has nearly two decades of experience teaching computer science courses, primarily at Haywood Community College. Tony is a highly acclaimed instructor who was previously selected as the North Carolina Community College Teacher of the Year, and has received the Teaching Excellence award from the National Institute for Staff and Organizational Development. The Starting Out with series includes introductory textbooks covering Programming Logic and Design, Alice, C++, Java, Microsoft Visual Basic, and Python.

MyCodemate Student Access Kit, 3/E
MyCodeMate
©2005 | Addison-Wesley | Access Code Card | Instock
ISBN-10: 0321356977 | ISBN-13: 9780321356970


MyCodeMate for Starting Out with Java: From Control Structures through Objects (access code required), 4/E
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136081487 | ISBN-13: 9780136081487
URLhttp://www.mycodemate.com


WebCT for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 013608351X | ISBN-13: 9780136083511
URLhttp://webct4demo.pearsoncmg.com/SCRIPT/013608351X_Gaddis/scripts/student/serve_home

Availability: Now! | Version: 4.1X | Student Access Type: Open Access
Request Content       View Demo


BlackBoard for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136083501 | ISBN-13: 9780136083504
URLhttp://bb6demo.pearsoncmg.com/webapps/portal/frameset.jsp?tab=courses&url=/bin/common/course.pl?course_id=_1270_1

Availability: Now! | Version: 6.2.3 | Student Access Type: Open Access
Request Content       View Demo


VideoNotes Companion Website for Starting Out with Java: From Control Structures through Objects
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136095097 | ISBN-13: 9780136095095
URLhttp://www.pearsonhighered.com/gaddis


BlackBoard for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136083501 | ISBN-13: 9780136083504
URLhttp://bb6demo.pearsoncmg.com/webapps/portal/frameset.jsp?tab=courses&url=/bin/common/course.pl?course_id=_1270_1

Availability: Now! | Version: 6.2.3 | Student Access Type: Open Access
Request Content       View Demo


Lab Manual Solutions for Starting Out with Java: From Control Structures through Objects, 4/E
Christie
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136095070 | ISBN-13: 9780136095071
  View Downloadable Files



Lab Manual Student Files for Starting Out with Java: From Control Structures through Objects, 4/E
Christie
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136095089 | ISBN-13: 9780136095088
  View Downloadable Files



Lab Manual for Starting Out with Java: From Control Structures through Objects, 4/E
Christie
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136095062 | ISBN-13: 9780136095064
  View Downloadable Files



MyCodeMate for Starting Out with Java: From Control Structures through Objects (access code required), 4/E
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136081487 | ISBN-13: 9780136081487
URLhttp://www.mycodemate.com


Powerpoint Slides for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136080219 | ISBN-13: 9780136080213
  View Downloadable Files



Solutions Manual for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136080227 | ISBN-13: 9780136080220
  View Downloadable Files



Source Code, Case Studies, and Appendices for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136080235 | ISBN-13: 9780136080237
  View Downloadable Files



Test Bank for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136080618 | ISBN-13: 9780136080619
  View Downloadable Files



TestGen Computerized Text Bank for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136080626 | ISBN-13: 9780136080626
  View Downloadable Files



VideoNotes Companion Website for Starting Out with Java: From Control Structures through Objects
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136095097 | ISBN-13: 9780136095095
URLhttp://www.pearsonhighered.com/gaddis


WebCT for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 013608351X | ISBN-13: 9780136083511
URLhttp://webct4demo.pearsoncmg.com/SCRIPT/013608351X_Gaddis/scripts/student/serve_home

Availability: Now! | Version: 4.1X | Student Access Type: Open Access
Request Content       View Demo


BlackBoard for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136083501 | ISBN-13: 9780136083504
URLhttp://bb6demo.pearsoncmg.com/webapps/portal/frameset.jsp?tab=courses&url=/bin/common/course.pl?course_id=_1270_1

Availability: Now! | Version: 6.2.3 | Student Access Type: Open Access
Request Content       View Demo


CS Support-Student Support Material
Addison-Wesley
©2008 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0321446852 | ISBN-13: 9780321446855
URLhttp://www.aw.com/cssupport


MyCodeMate for Starting Out with Java: From Control Structures through Objects (access code required), 4/E
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136081487 | ISBN-13: 9780136081487
URLhttp://www.mycodemate.com


MyCodemate Student Access Kit, 3/E
MyCodeMate
©2005 | Addison-Wesley | Access Code Card | Instock
ISBN-10: 0321356977 | ISBN-13: 9780321356970


VideoNotes Companion Website for Starting Out with Java: From Control Structures through Objects
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136095097 | ISBN-13: 9780136095095
URLhttp://www.pearsonhighered.com/gaddis


VideoNotes on CD for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | CD-ROM Only | Instock
ISBN-10: 013608060X | ISBN-13: 9780136080602
Buy from myPearsonStore


WebCT for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 013608351X | ISBN-13: 9780136083511
URLhttp://webct4demo.pearsoncmg.com/SCRIPT/013608351X_Gaddis/scripts/student/serve_home

Availability: Now! | Version: 4.1X | Student Access Type: Open Access
Request Content       View Demo


Interwrite Personal Response System
EduCue, Addison-Wesley & Benjamin Cummings
©2004 | Addison-Wesley | Electronic Supplement | Instock
ISBN-10: 0321267354 | ISBN-13: 9780321267351


MyCodemate Student Access Kit, 3/E
MyCodeMate
©2005 | Addison-Wesley | Access Code Card | Instock
ISBN-10: 0321356977 | ISBN-13: 9780321356970


MyCodeMate for Starting Out with Java: From Control Structures through Objects (access code required), 4/E
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136081487 | ISBN-13: 9780136081487
URLhttp://www.mycodemate.com


WebCT for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 013608351X | ISBN-13: 9780136083511
URLhttp://webct4demo.pearsoncmg.com/SCRIPT/013608351X_Gaddis/scripts/student/serve_home

Availability: Now! | Version: 4.1X | Student Access Type: Open Access
Request Content       View Demo


BlackBoard for Starting Out with Java: From Control Structures through Objects, 4/E
Gaddis
©2010 | Addison-Wesley | On-line Supplement | Instock
ISBN-10: 0136083501 | ISBN-13: 9780136083504
URLhttp://bb6demo.pearsoncmg.com/webapps/portal/frameset.jsp?tab=courses&url=/bin/common/course.pl?course_id=_1270_1

Availability: Now! | Version: 6.2.3 | Student Access Type: Open Access
Request Content       View Demo


VideoNotes Companion Website for Starting Out with Java: From Control Structures through Objects
Gaddis
©2010 | Addison-Wesley | Website | Instock
ISBN-10: 0136095097 | ISBN-13: 9780136095095
URLhttp://www.pearsonhighered.com/gaddis


Give your students a choice! PearsonChoices products are designed to give your students more value and flexibility by letting them choose from a variety of text and media formats to best match their learning style and their budget.

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, see the Packages Tab.

  • 9780135075487
    Computer Science Custom Library
    Pearson Custom Publishing
    ©2009 | Addison-Wesley | On-line Supplement | Instock
    ISBN-10: 0135075483 | ISBN-13: 9780135075487
    Brief Description

  • 9780136095132
    Starting Out with Java: From Control Structures through Objects, CourseSmart eTextbook, 4/E
    Gaddis
    ©2010 | Addison-Wesley | Electronic Book; 1008 pp | Instock
    ISBN-10: 0136095135 | ISBN-13: 9780136095132
    URLhttp://www.coursesmart.com
    Brief Description | Buy from myPearsonStore

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, browse our available packages below, or contact your Pearson Higher Education representative to create your own package.

Package ISBN-10: 0138010676 | ISBN-13: 9780138010676
©2010 | Instock (Additional assembly time required) | Suggested retail price: $124.53 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
  • CodeLab Access Card
Turing's Craft | ©2008 | Addison-Wesley | Access Code Card


Package ISBN-10: 0138011745 | ISBN-13: 9780138011741
©2010 | Instock (Additional assembly time required) | Suggested retail price: $109.00 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
Gaddis | ©2010 | Addison-Wesley | CD-ROM Only


Package ISBN-10: 0136120555 | ISBN-13: 9780136120551
©2010 | Instock | Suggested retail price: $107.67 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
DePasquale | ©2005 | Addison-Wesley | Paper; 96 pp


Package ISBN-10: 0137072287 | ISBN-13: 9780137072286
©2010 | Instock (Additional assembly time required) | Suggested retail price: $109.00 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
MyCodeMate | ©2005 | Addison-Wesley | Access Code Card
Gaddis | ©2010 | Addison-Wesley | CD-ROM Only


Package ISBN-10: 0136120547 | ISBN-13: 9780136120544
©2010 | Out of Stock | Suggested retail price: $105.00 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
  • MyCodeMate Sticker
Addison-Wesley | ©2006 | Addison-Wesley | Paper
MyCodeMate | ©2005 | Addison-Wesley | Access Code Card


Package ISBN-10: 0138020140 | ISBN-13: 9780138020149
©2010 | Instock (Additional assembly time required) | Suggested retail price: $109.00 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
  • MyCodeMate Sticker
Addison-Wesley | ©2006 | Addison-Wesley | Paper
MyCodeMate | ©2005 | Addison-Wesley | Access Code Card
Gaddis | ©2010 | Addison-Wesley | CD-ROM Only


Package ISBN-10: 0136120539 | ISBN-13: 9780136120537
©2010 | Instock (Additional assembly time required) | Suggested retail price: $107.67 | Buy from myPearsonStore
This package contains:

Gaddis | ©2010 | Addison-Wesley | Paper Bound w/CD-ROM; 1008 pp
DePasquale | ©2005 | Addison-Wesley | Paper; 96 pp
  • MyCodeMate Sticker
Addison-Wesley | ©2006 | Addison-Wesley | Paper
MyCodeMate | ©2005 | Addison-Wesley | Access Code Card