did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780760010709

Java Programming

by
  • ISBN13:

    9780760010709

  • ISBN10:

    0760010706

  • Edition: 1st
  • Format: Paperback
  • Copyright: 1999-02-26
  • Publisher: Course Technology
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $73.95

Summary

This book distinguishes itself from other Java books in that it does not assume prior programming experience and introduces object-oriented techniques early and explored them extensively. The book is interspersed with step-by-step exercises illustrating the concepts as they are explained.

Table of Contents

Preface iii
Read this Before you Begin xv
A First Program Using Java
1(44)
Section A: Creating a Program
2(23)
Programming
2(1)
Object-Oriented Programming
3(2)
The Java Programming Language
5(1)
Starting a Program
6(7)
Adding Comments to a Program
13(2)
Running a Program
15(2)
Modifying a Program
17(2)
Summary
19(1)
Questions
20(3)
Exercises
23(2)
Section B: Using Data
25(20)
Variables and Constants
25(2)
The int Data Type
27(3)
Arithmetic Statements
30(2)
The boolean Data Type
32(2)
Floating-point Data Types
34(1)
Numeric Type Conversion
35(2)
The char Data Type
37(2)
Summary
39(1)
Questions
40(2)
Exercises
42(3)
Using Methods, Classes, and Objects
45(44)
Previewing the SetUpSite Program Using the EvenSite Class
46(1)
Section A: Programming Using Methods
47(18)
Creating Methods with No Arguments
47(6)
Methods that Require a Single Argument
53(3)
Methods that Require Multiple Arguments
56(1)
Methods that Return Values
57(3)
Summary
60(1)
Questions
61(2)
Exercises
63(2)
Section B: Using Classes
65(24)
Classes
65(2)
Creating a Class
67(2)
Using Instance Methods
69(2)
Declaring Objects
71(2)
Organizing Classes
73(7)
Using Constructors
80(3)
Summary
83(1)
Questions
84(3)
Exercises
87(2)
Advanced Object Concepts
89(44)
Section A: Class Features
90(23)
Blocks and Scope
90(6)
Overloading
96(4)
Ambiguity
100(2)
Sending Arguments to Constructors
102(3)
Overloading Constructors
105(2)
Summary
107(1)
Questions
107(3)
Exercises
110(3)
Section B: Using Methods
113(20)
The this Reference
113(2)
Working with Constants
115(4)
Using Automatically Imported, Prewritten Constants and Methods
119(3)
Using Prewritten Imported Methods
122(5)
Summary
127(1)
Questions
128(3)
Exercises
131(2)
Input, Selection, and Repetition
133(64)
Previewing the ChooseManager Program Using the Event Class
134(1)
Section A: Input and Decision Making
135(24)
Simple Keyboard Input
135(6)
Drawing Flowcharts
141(1)
Making Decisions with the if Structure
142(3)
The if...else Structure
145(2)
Compound Statements
147(5)
Nested if and Nested if...else
152(1)
Summary
153(1)
Questions
154(2)
Exercises
156(3)
Section B: Special Operators, the switch Statement, and Precedence
159(16)
AND and OR Operators
159(5)
The switch Statement
164(3)
The Conditional Operator
167(1)
The NOT Operator
168(1)
Precedence
168(2)
Summary
170(1)
Questions
170(3)
Exercises
173(2)
Section C: Looping and Shortcut Arithmetic
175(22)
The while Loop
175(6)
Shortcut Aritmetic Operators
181(2)
The for Loop
183(2)
The do...while Loop
185(2)
Nested Loops
187(3)
Summary
190(1)
Questions
191(3)
Exercises
194(3)
Arrays and Strings
197(68)
Previewing a Program that Uses Arrays and Strings
198(1)
Section A: Arrays
199(28)
Declaring an Array
199(3)
Initializing an Array
202(1)
Using Subscripts with an Array
203(1)
Declaring an Array of Objects
204(4)
Searching an Array for an Exact Match
208(5)
Searching an Array for a Range Match
213(2)
Passing Arrays to Methods
215(5)
Using the Array Length
220(1)
Summary
221(1)
Questions
222(3)
Exercises
225(2)
Section B: Strings
227(16)
Declaring Strings
227(2)
Comparing Strings
229(4)
Using Other String Methods
233(3)
Converting Strings to Numbers
236(2)
Summary
238(1)
Questions
239(3)
Exercises
242(1)
Section C: Advanced Array Techniques
243(22)
Sorting Primitive Array Elements
243(6)
Sorting Arrays of Objects
249(3)
Sorting Strings
252(2)
Using Two-dimensional Arrays
254(3)
Understanding Multidimensional Arrays
257(1)
Using StringBuffer
258(2)
Summary
260(1)
Questions
261(2)
Exercises
263(2)
Applets
265(48)
Previewing the PartyPlanner Applet
266(3)
Section A: HTML and Applet Basics
269(22)
Writing an HTML Program to Host an Applet
269(2)
Writing a Simple Applet Using a Label
271(4)
Changing a Label's Font
275(2)
Adding TextField and Button Components to an Applet
277(2)
Event-driven Programming
279(1)
Preparing Your Applet to Accept Event Messages
280(1)
Telling Your Applet to Expect Events to Happen
280(1)
Telling Your Applet How to Respond to any Events that Happen
281(2)
Adding Output to an Applet
283(2)
Summary
285(1)
Questions
286(4)
Exercises
290(1)
Section B: The Applet Life Cycle and More Sophisticated Applets
291(22)
The Applet Life Cycle
291(6)
A Complete Interactive Applet
297(5)
Using the setLocation() Method
302(2)
Using the setEnabled() Method
304(1)
Getting Help
305(1)
Summary
306(1)
Questions
307(2)
Exercises
309(4)
Graphics
313(50)
Previewing the StopLight Applet
314(1)
Section A: Graphics Basics
315(23)
The paint() and repaint() Methods
315(2)
The drawString() Method
317(2)
The setFont() and setColor() Graphics Object Methods
319(4)
Setting the Background Color
323(1)
Creating Your Own Graphics Object
324(2)
Drawing Lines and Rectangles
326(3)
Drawing Ovals
329(3)
Summary
332(1)
Questions
333(2)
Exercises
335(3)
Section B: More Graphics Methods
338(25)
Drawing Arcs
338(2)
Creating Three-dimensional Rectangles
340(1)
Creating Polygons
340(2)
Copying in Area
342(2)
Using Font Methods
344(9)
Using Simple Animation
353(4)
Summary
357(1)
Questions
358(2)
Exercises
360(3)
Introduction to Inheritance
363(44)
Previewing an Example of Inheritance
364(3)
Section A: Inheritance
367(18)

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program