Starting Out with Java: Early Objects [With Access Code]

See all books on Walmart.com. Browse fiction, check out our biographies, or find a great novel or children's book. Walmart.com also carries textbooks for less.
Advertisement
Advertisement

Starting Out with Java: Early Objects [With Access Code]

Format:  Paperback,

1094 pages

Publisher: Pearson College Div

Publish Date: Nov 2010

ISBN-13: 9780132164764

ISBN-10: 0132164760

Buy from Walmart

Shipping & Pickup
Online
$109.41
Not Available at this time

  • Store information not available.

 Buy from Marketplace

Shipping & Additional Information

Book Information

The following content was provided by the publisher.
Tony Gaddis's accessible, step-by-step presentation 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 the Java 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 understand the logic behind developing high-quality programs.
In Starting Out with Java: Early Objects, Gaddis looks at objects--the fundamentals of classes and methods--before covering procedural 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.

Specifications

Author:
Publisher: Pearson College Div
Publish Date: Nov 2010
ISBN-13: 9780132164764
ISBN-10: 0132164760
Format: Paperback
Number of Pages: 1094
Shipping Weight (in pounds): 3.8
Product in Inches (L x W x H): 7.9 x 1.5 x 9.9

Chapter outline

Preface
Introduction to Computers and Java
Introduction
Why Program?
Computer Systems: Hardware and Software
Programming Languages
What Is a Program Made of?
The Programming Process
Object-Oriented Programming
Review Questions and Exercises
Programming Challenge
Java Fundamentals
The Parts of a Java Program
The print and printIn Methods, and the Java API
Variables and Literals
Primitive Data Types
Arithmetic Operators
Combined Assignment Operators
Conversion between Primitive Data Types
Creating Named Constants with final
The String Class
Scope
Comments
Programming Style
Reading Keyboard Input
Dialog Boxes
The printf Method
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
A First Look at Classes and Objects
Classes
More about Passing Arguments
Instance Fields and Methods
Constructors
A Bank Account Class
Classes, Variables, and Scope
Packages and import Statements
Focus on Object-Oriented Design: Finding the Classes and Their Responsibilities
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Decision Structures
The if Statement
The if-else Statement
The Payroll Class
Nested i f Statements
The if-else-if Statement
Logical Operators
Comparing String Objects
More about Variable Declaration and Scope
The Conditional Operator (Optional)
The switch Statement
Formatting Numbers with the Decimal Format Class
Focus on Problem Solving: The Sales Commission Class
The Random Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Loops and Files
The Increment and Decrement Operators
The while Loop
Using the while Loop for Input Validation
The do-while Loop
The for Loop
Running Totals and Sentinel Values
Nested Loops
The break and continue Statements
Deciding Which Loop to Use
Introduction to File Input and Output
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
A Second Look at Classes and Objects
Static Class Members
Overloaded Methods
Overloaded Constructors
Passing Objects as Arguments to Methods
Returning Objects from Methods
The toString Method
Writing an equals Method
Methods That Copy Objects
Aggregation
The this Reference Variable
Inner Classes
Enumerated Types
Garbage Collection
Focus on Object-Oriented Design: Class Collaboration
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Arrays and the ArrayList Class
Introduction to Arrays
Processing Array Contents
Passing Arrays as Arguments to Methods
Some Useful Array Algorithms and Operations
Returning Arrays from Methods
String Arrays
Arrays of Objects
The Sequential Search Algorithm
The Selection Sort and the Binary Search Algorithms
Two-Dimensional Arrays
Arrays with Three or More Dimensions
Command-Line Arguments and Variable-Length Argument Lists
The ArrayList Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Text Processing and Wrapper Classes
Introduction to Wrapper Classes
Character Testing and Conversion with the Character Class
More about String Objects
The StringBuilder Class
Tokenizing Strings
Wrapper Classes for the Numeric Data Types
Focus on Problem Solving: The Test Score Reader Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Inheritance
What Is Inheritance?
Calling the Superclass Constructor
Overriding Superclass Methods
Protected Members
Classes That Inherit from Subclasses.
The Object Class
Polymorphism
Abstract Classes and Abstract Methods
Interfaces
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Exceptions and Advanced File I /O
Handling Exceptions
Throwing Exceptions
Advanced Topics: Binary Files, Random Access Files, and Object Serialization
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
GUI Applications-Part 1
Introduction
Dialog Boxes
Creating Windows
Equipping GUI Classes with a main Method
Layout Managers
Radio Buttons and Check Boxes
Borders
Focus on Problem Solving: Extending the JPanel Class
Splash Screens
Using Console Output to Debug a GUI Application
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
GUI Applications-Part 2
Read-Only Text Fields
Lists
Combo Boxes
Displaying Images in Labels and Buttons
Mnemonics and Tool Tips
File Choosers and Color Choosers
Menus
More about Text Components: Text Areas and Fonts
Sliders
Look and Feel
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Applets and More
Introduction to Applets
A Brief Introduction to HTML
Creating Applets with Swing
Using AWT for Portability
Drawing Shapes
Handling Mouse Events
Timer Objects
Playing Audio
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Recursion
Introduction to Recursion
Solving Problems with Recursion
Examples of Recursive Methods
A Recursive Binary Search Method
The Towers of Hanoi
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Databases
Introduction to Database Management Systems
Tables, Rows, and Columns
The SQL SELECT Statement
Introduction to JDBC
Inserting Rows
Updating and Deleting Existing Rows
Creating and Deleting Tables
Creating a New Database with Java DB
Scrollable Result Sets
Result Set Meta Data
Displaying Query Results in a J Table
Relational Data
Advanced Topics
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Getting Started with Alice
Index
The ASCII/Unicode Characters
Operator Precedence and Associativity
Java Key Words
Installing the JDK and JDK Documentation
Using the javadoc Utility
More about the Math Class
Packages
Working with Records and Random-Access Files
Installing Java DB
The QuickSort Algorithm
Answers to Checkpoints Questions
Answers to Odd-Numbered Review Questions
The Amortization Class
The PinTester Class
Parallel Arrays
The Serial Number Class
A Simple Text Editor Application

Book description

Tony Gaddis’s accessible, step-by-step presentation 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 the Java 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 understand the logic behind developing high-quality programs.

In Starting Out with Java: Early Objects, Gaddis looks at objects—the fundamentals of classes and methods—before covering procedural 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.

Gifting Plans

Financing Offers

Make the most of your shopping experience with the Walmart® MasterCard® or Walmart Credit Card.

Save $25 when you open a Walmart® Credit Card and spend $75 today.

*Offer subject to credit approval

Learn More or Apply Now