Skip to content

Starting Out with Java From Control Structures Through Objects

Best in textbook rentals since 2012!

ISBN-10: 0321479270

ISBN-13: 9780321479273

Edition: 3rd 2008

Authors: Tony Gaddis

List price: $107.20
Blue ribbon 30 day, 100% satisfaction guarantee!
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:

KEY BENEFIT: In Starting Out with Java: From Control Structures through Objects,"" Gaddis covers procedural programming--control structures and methods--before introducing objects in the latter part of the book. 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. Introduction to Computers and Java; Java Fundamentals; Decision Structures; Loops and Files; Methods; A First Look at Classes; A First Look at GUI Applications; Arrays and the ArrayList Class; A Second Look at Classes and Objects; Text Processing and More about Wrapper Classes; Inheritance; Exceptions and Advanced File…    
Customers also bought

Book details

List price: $107.20
Edition: 3rd
Copyright year: 2008
Publisher: Addison-Wesley Longman, Incorporated
Binding: Mixed Media
Pages: 987
Size: 8.00" wide x 9.75" long x 1.25" tall
Weight: 3.696
Language: English

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
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
Decision Structures
The if Statement
The if-else Statement
The if-else-if Statement
Nested if Statements
Logical Operators
Comparing String Objects
More about Variable Declaration and Scope
The Conditional Operator (Optional)
The switch Statement
Creating Objects with the DecimalFormat Class
The printf Method
Common Errors to Avoid
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
The Random Class
Common Errors to Avoid
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
A First Look at Classes
Classes and Objects
Instance Fields and Methods
Constructors
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
A First Look at GUI Applications
Introduction
Creating Windows
Equipping GUI Classes with a main Method
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
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
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
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