FREE SHIPPING BOTH WAYS
ON EVERY ORDER!
LIST PRICE:
$73.00

Sorry, this item is currently unavailable.

Java Software Solutions : Foundations of Program Design

ISBN: 9780201571646 | 0201571641
Format: Paperback
Publisher: Addison-Wesley
Pub. Date: 8/1/1997

Why Rent from Knetbooks?

Because Knetbooks knows college students. Our rental program is designed to save you time and money. Whether you need a textbook for a semester, quarter or even a summer session, we have an option for you. Simply select a rental period, enter your information and your book will be on its way!

Top 5 reasons to order all your textbooks from Knetbooks:

  • We have the lowest prices on thousands of popular textbooks
  • Free shipping both ways on ALL orders
  • Most orders ship within 48 hours
  • Need your book longer than expected? Extending your rental is simple
  • Our customer support team is always here to help
SummaryTable of Contents
This book takes an object-oriented approach to Java using the Java 1.5 release in a way that is appropriate for those just learning to write high-quality programs. The book features both text-based and GUI-based examples to demonstrate computing concepts and provide readers with maximum versatility. This new edition has an earlier evolution of object concepts, developed in a way that capitalizes on the power of objects without overwhelming beginning programmers. It places less empahsis on applets and more emphasis on GUI-based applications, while still maintaining a clean division between graphical and non-graphical topics. This book is appropriate for beginning programmers who want to learn to program with Java as well as experienced programmers who want to add Java to their skill-set.
Prefacev
Chapter 1 Computer Systems
1(32)
1.1 Introduction
2(9)
... MOREBasic Computer Processing
2(1)
Software Categories
3(3)
Digital Computers
6(3)
Binary Numbers
9(2)
1.2 Hardware Components
11(8)
Computer Architecture
11(2)
Input/Output Devices
13(1)
Main and Secondary Memory
14(3)
The Central Processing Unit
17(2)
1.3 Networks
19(8)
Network Connections
20(1)
Local-Area and Wide-Area Networks
21(1)
The Internet
22(2)
The World-Wide Web
24(2)
Uniform Resource Locator
26(1)
Summary of Key Concepts
27(2)
Self-Review Questions
29(1)
Exercises
29(1)
Answers to Self-Review Questions
30(3)
Chapter 2 Software Concepts
33(42)
2.1 A Java Program
34(10)
White Space
36(1)
Comments
37(2)
Identifiers, Reserved Words, and Literals
39(2)
The print and println Methods
41(3)
2.2 Programming Languages
44(7)
Programming Language Levels
44(2)
Compilers and Interpreters
46(2)
Syntax and Semantics
48(1)
Errors
49(2)
2.3 Compiling and Executing a Java Program
51(3)
2.4 Object-Oriented Programming
54(7)
Software Engineering
54(2)
Software Components
56(2)
Objects and Classes
58(3)
2.5 Class Libraries
61(3)
The Java API
61(2)
The import Statement
63(1)
2.6 Java Applets
64(5)
Applet Examples
65(3)
HTML
68(1)
Summary of Key Concepts
69(2)
Self-Review Questions
71(1)
Exercises
71(1)
Programming Projects
72(1)
Answers to Self-Review Questions
73(2)
Chapter 3 Program Elements
75(46)
3.1 Primitive Data Types
76(3)
Integers and Floating Points
76(1)
Characters
77(1)
Booleans
78(1)
Wrappers
78(1)
3.2 Variables and Assignment
79(4)
Variables
79(1)
The Assignment Statement
80(2)
Constants
82(1)
3.3 Input and Output
83(6)
Streams
83(2)
Escape Sequences
85(1)
Input and Output Buffers
85(2)
Numeric Input
87(2)
3.4 Arithmetic Operators
89(3)
Operator Precedence
90(2)
3.5 Making Decisions
92(10)
The if Statement
92(2)
Boolean Expressions
94(1)
Block Statement
95(2)
The if-else Statement
97(4)
Nested if Statements
101(1)
3.6 Repetition
102(4)
The while Statement
102(4)
Infinite Loops
106(1)
3.7 Developing Programs
106(3)
Requirements
107(1)
Design
107(1)
Implementation
108(1)
Testing
108(1)
3.8 Example: Test Average
109(6)
Summary of Key Concepts
115(1)
Self-Review Questions
116(1)
Exercises
117(1)
Programming Projects
118(1)
Answers to Self-Review Questions
119(2)
Chapter 4 Objects and Classes
121(50)
4.1 Objects
122(3)
Classes
123(1)
Instantiation and References
124(1)
4.2 Using Predefined Classes
125(6)
The String Class
125(3)
The StringTokenizer Class
128(2)
The Random Class
130(1)
4.3 Aliases
131(3)
4.4 Defining Methods
134(6)
The return Statement
135(1)
Parameters
136(4)
4.5 Defining Classes
140(3)
4.6 Encapsulation
143(5)
Abstraction
145(1)
Visibility Modifiers
146(2)
4.7 Example: CD Collection
148(2)
4.8 The static Modifier
150(2)
Static Variables
150(1)
Static Methods
151(1)
4.9 Method Overloading
152(3)
Overloading Constructors
153(2)
4.10 Example: Purchase Power
155(5)
4.11 Example: Storm Applet
160(7)
Requirements
160(1)
Design
161(2)
Implementation
163(3)
System Test
166(1)
Summary of Key Concepts
167(1)
Self-Review Questions
167(1)
Exercises
168(1)
Programming Projects
169(1)
Answers to Self-Review Questions
170(1)
Chapter 5 More Programming Constructs
171(36)
5.1 Internal Data Representation
172(9)
Representing Integers
172(3)
Representing Floating Point Values
175(1)
Representing Characters
176(1)
Conversion Categories
177(2)
Performing Conversions
179(2)
5.2 More Operators
181(8)
Increment and Decrement Operators
181(2)
Logical Operators
183(3)
Assignment Operators
186(2)
The Conditional Operator
188(1)
Precedence Revisited
189(1)
5.3 More Selection Statements
189(5)
The switch Statement
189(5)
5.4 More Repetition Statements
194(8)
do Statement
194(2)
for Statement
196(3)
Using the break Statement in Loops
199(1)
The continue Statement
199(2)
Labels
201(1)
Summary of Key Concepts
202(1)
Self-Review Questions
202(1)
Exercises
203(2)
Programming Projects
205(1)
Answers to Self-Review Questions
206(1)
Chapter 6 Objects for Organizing Data
207(44)
6.1 Arrays
208(24)
Basic Arrays
208(7)
Alternate Array Syntax
215(1)
Initializer Lists
216(1)
Example: Monthly Sales
217(3)
Arrays of Objects
220(5)
Arrays as Parameters
225(3)
Multidimensional Arrays
228(4)
6.2 The Vector Class
232(5)
Dynamic Arrays
233(4)
6.3 Strings Revisited
237(6)
Using StringTokenizer
237(5)
The StringBuffer Class
242(1)
Summary of Key Concepts
243(1)
Self-Review Questions
244(1)
Exercises
245(1)
Programming Projects
246(2)
Answers to Self-Review Questions
248(3)
Chapter 7 Graphics
251(34)
7.1 The Graphics Class
252(3)
The Graphics Coordinate System
252(3)
7.2 Color
255(5)
Predefined Colors
255(2)
Defining Colors
257(1)
XOR Mode
258(2)
7.3 Drawing Shapes
260(15)
Ovals
260(3)
Rectangles
263(5)
Arcs
268(3)
Polygons
271(2)
Polylines
273(2)
7.4 Fonts
275(2)
7.5 Example: Bouncing Ball
277(4)
Summary of Key Concepts
281(1)
Self-Review Questions
281(1)
Exercises
282(1)
Programming Projects
282(1)
Answers to Self-Review Questions
283(2)
Chapter 8 Inheritance
285(46)
8.1 Creating Subclasses
286(10)
Derived Classes
286(3)
The protected Modifier
289(1)
The super Reference
290(2)
Defined versus Inherited
292(2)
Student Example
294(2)
8.2 Overriding Methods
296(9)
Employee Example
298(4)
Savings Accounts Example
302(3)
8.3 Class Hierarchies
305(10)
Revising and Extending Hierarchies
307(5)
Alternative Hierarchies
312(1)
The Object Class
313(2)
8.4 Polymorphism
315(11)
References and Class Hierarchies
315(4)
Paying Employees Example
319(7)
Summary of Key Concepts
326(1)
Self-Review Questions
327(1)
Exercises
327(1)
Programming Projects
327(1)
Answers to Self-Review Questions
328(3)
Chapter 9 Enhanced Class Design
331(26)
9.1 Abstract Classes and Methods
332(6)
Example: Food
332(2)
Example: File Structure
334(3)
Deriving Subclasses
337(1)
9.2 Interfaces
338(9)
Methods in an Interface
339(1)
Constants in an Interface
340(1)
Using Interfaces
341(5)
Encapsulation and Information Hiding
346(1)
9.3 Packages
347(5)
Defining Packages
348(2)
Using Packages
350(2)
Summary of Key Concepts
352(1)
Self-Review Questions
353(1)
Exercises
353(1)
Programming Projects
354(1)
Answers to Self-Review Questions
354(3)
Chapter 10 Graphical User Interfaces
357(50)
10.1 GUI Elements
358(1)
10.2 Event-Driven Programming
359(9)
Event Interfaces
364(4)
10.3 Components and Containers
368(5)
Containers
369(1)
Component Hierarchies
370(3)
10.4 GUI Components
373(9)
Labels
373(1)
Text Fields and Text Areas
374(3)
Lists
377(1)
Buttons
378(1)
Scrollbars
379(3)
10.5 Layout Managers
382(13)
Flow Layout
383(2)
Grid Layout
385(1)
Border Layout
386(2)
Card Layout
388(2)
Grid Bag Layout
390(5)
10.6 Example: Quotes
395(7)
Summary of Key Concepts
402(1)
Self-Review Questions
403(1)
Exercises
403(1)
Programming Projects
404(1)
Answers to Self-Review Questions
405(2)
Chapter 11 The Software Development Process I
407(36)
11.1 Software Development Models
408(9)
Software Life Cycle
408(3)
Development Process Models
411(2)
An Interative Process
413(3)
Testing Techniques
416(1)
11.2 Requirements: Robot Search Simulator
417(3)
Robot Search Problem
418(1)
Revising Requirements
418(2)
11.3 Design
420(6)
Objects and Classes
421(2)
Algorithms
423(2)
Prototype
425(1)
11.4 Implementation
426(12)
Classes Obstacle and Goal
426(4)
Classes Robot, Random_Robot, and Diagonal_Robot
430(6)
Class Robot_Sim
436(2)
Summary of Key Concepts
438(1)
Self-Review Questions
439(1)
Exercises
440(1)
Programming Projects
440(1)
Answers to Self-Review Questions
441(2)
Chapter 12 Recursion
443(20)
12.1 Recursive Thinking
444(2)
Infinite Recursion
445(1)
Recursion in Math
446(1)
12.2 Recursive Programming
446(5)
Recursion vs. Iteration
448(3)
12.3 Using Recursion
451(8)
Repeating Pictures
451(2)
Palindrome
453(2)
Maze
455(4)
Summary of Key Concepts
459(1)
Self-Review Questions
459(1)
Exercises
459(1)
Programming Projects
460(1)
Answers to Self-Review Questions
461(2)
Chapter 13 Sorting and Searching
463(24)
13.1 Sorting
464(9)
Selection Sort
464(3)
Insertion Sort
467(2)
Comparing Sorts
469(1)
Sorting Objects
470(3)
13.2 Searching
473(9)
Linear Search
473(2)
Binary Search
475(3)
A Recursive Binary Search
478(2)
Hashing
480(2)
Summary of Key Concepts
482(1)
Self-Review Questions
483(1)
Exercises
483(1)
Programming Projects
484(1)
Answers to Self-Review Questions
484(3)
Chapter 14 Advanced Flow of Control
487(28)
14.1 Exceptions
488(10)
Exception Messages
489(1)
The try Statement
490(3)
Exception Propagation
493(3)
The throw Statement
496(1)
The finally Clause
497(1)
14.2 Threads
498(13)
Creating Threads
499(2)
A Problem with Threads
501(1)
Synchronization
502(3)
Controlling Threads
505(6)
Summary of Key Concepts
511(1)
Self-Review Questions
512(1)
Exercises
512(1)
Programming Projects
512(1)
Answers to Self-Review Questions
513(2)
Chapter 15 The Software Development Process II
515(22)
15.1 An Object-Oriented Development Process
516(9)
Evolutionary Development
516(2)
Establish Refinement Scope
518(1)
Identifying Classes and Objects
519(1)
Identifying Relationships
520(2)
Detailed Design
522(1)
Implementation
523(1)
Unit and Integration Testing
523(2)
15.2 Example: Slide Puzzle
525(7)
Requirements
525(1)
Architectural Design
526(1)
Refinements
527(1)
Refinement: The User Interface
527(5)
Summary of Key Concepts
532(1)
Self-Review Questions
533(1)
Exercises
534(1)
Programming Projects
535(1)
Answers to Self-Review Questions
535(2)
Chapter 16 Data Structures
537(22)
16.1 Dynamic Structures
538(5)
Using References to Link Objects
538(3)
Abstract Data Types
541(2)
16.2 Lists
543(5)
A Dynamically Linked List
543(3)
Other Dynamic List Implementations
546(2)
16.3 Queues
548(2)
A Queue ADT
548(2)
16.4 Stacks
550(3)
The Stack Class
551(1)
Example: Message Decoding
552(1)
Summary of Key Concepts
553(1)
Self-Review Questions
554(1)
Exercises
554(1)
Programming Projects
555(1)
Answers to Self-Review Questions
556(3)
Appendix A Glossary559(22)
Appendix B Number Systems581(7)
Appendix C The Unicode Character Set588(3)
Appendix D Java Operators591(3)
Appendix E Java Bitwise Operators594(3)
Appendix F Java Modifiers597(4)
Appendix G Java Coding Guidelines601(5)
Appendix H Review Checklist606(3)
Appendix I Comparing Java to C++609(6)
Appendix J Integrating Java with Other Languages615(4)
Appendix K An HTML Tutorial619(20)
Appendix L The Java Development Kit639(7)
Appendix M Java Exceptions and Errors646(5)
Appendix N Java Syntax651(9)
Appendix O The Java API660(171)
Index831


Please wait while this item is added to your cart...