Skip to content

Starting Out with Java From Control Structures Through Objects

Best in textbook rentals since 2012!

ISBN-10: 0132989999

ISBN-13: 9780132989992

Edition: 5th 2013

Authors: Tony Gaddis

List price: $162.80
Blue ribbon 30 day, 100% satisfaction guarantee!
Out of stock
We're sorry. This item is currently unavailable.
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

InStarting 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.
Customers also bought

Book details

List price: $162.80
Edition: 5th
Copyright year: 2013
Publisher: Addison Wesley
Publication date: 7/13/2012
Binding: Mixed Media
Size: 8.00" wide x 10.00" long x 1.75" tall
Weight: 1.826
Language: English

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 println 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
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Decision Structures
the if Statement
the if-else Statement
Nested if Statements
the if-else-if Statement
Logical Operators
Comparing String Objects
More about Variable Declaration and Scope
the Conditional Operator (Optional)
the switch Statement
the System.out.printf Method
Creating Objects with the DecimalFormat 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 (Optional)
Deciding Which Loop to Use
Introduction to File Input and Output
Generating Random Numbers with the Random Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Methods
Introduction to Methods
Passing Arguments to a Method
More about Local Variables
Returning a Value from a Method
Problem Solving with Methods
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
A First Look at Classes
Objects and Classes
Writing a Simple Class, Step by Step
Instance Fields and Methods
Constructors
Passing Objects as Arguments
Overloading Methods and Constructors
Scope of Instance Fields
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
Arrays and the ArrayList Class
Introduction to Arrays
Processing Array Elements
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
Two-Dimensional Arrays
Arrays with Three or More Dimensions
the Selection Sort and the Binary Search Algorithms
Command-Line Arguments and Variable-Length Argument Lists
the ArrayList Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
A Second Look at Classes and Objects
Static Class Members
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
Enumerated Types
Garbage Collection
Focus on Object-Oriented Design: Class Collaboration
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Text Processing and More about Wrapper Classes
Introduction to Wrapper Classes
Character Testing and Conversion with the Character Class
More String Methods
the StringBuilder Class
Tokenizing Strings
Wrapper Classes for the Numeric Data Types
Focus on Problem Solving: the TestScoreReader Class
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Inheritance
What Is Inheritance?
Calling the Superclass Constructor
Overriding Superclass Methods
Protected Members
Chains of Inheritance
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
A First Look at GUI Applications
Introduction
Creating Windows
Layout Managers
Radio Buttons and Check Boxes
Borders
Focus on Problem Solving: Extending Classes from JPanel
Splash Screens
Using Console Output to Debug a GUI Application
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Advanced GUI Applications
the Swing and AWT Class Hierarchy
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
Introduction to the SQL SELECT Statement
Inserting Rows
Updating and Deleting Existing Rows
Creating and Deleting Tables
Creating a New Database with JDBC
Scrollable Result Sets
Result Set Metadata
Displaying Query Results in a JTable
Relational Data
Advanced Topics
Common Errors to Avoid
Review Questions and Exercises
Programming Challenges
Java TM Quick Reference
Index
Student CD-ROM:
Getting Started with Alice
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
More about JOptionPane Dialog Boxes
Answers to Checkpoints
Answers to Odd-Numbered Review Questions
Calculating Sales Commission
the Amortization Class
the PinTester Class
Parallel Arrays
the FeetInches Class
the SerialNumber Class
A Simple Text Editor Application