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.

9780321245830

Java Software Solutions

by ;
  • ISBN13:

    9780321245830

  • ISBN10:

    0321245830

  • Edition: 4th
  • Format: Paperback w/CD
  • Copyright: 2005-01-01
  • Publisher: Addison Wesley
  • 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: $90.80

Summary

Lewis and Loftus helped transform introductory programming courses when they published the worldwide best-selling Java Software Solutions, the first book written from the ground-up specifically for such a course using Java. With this Fourth Edition, John Lewis and William Loftus remain on the leading edge of computer science education by making enhancements relevant to today's introductory Java students. Book jacket.

Table of Contents

Prefacep. vii
Introductionp. 1
Computer Processingp. 2
Software Categoriesp. 3
Digital Computersp. 5
Binary Numbersp. 7
Hardware Componentsp. 10
Computer Architecturep. 10
Input/Output Devicesp. 12
Main Memory and Secondary Memoryp. 13
The Central Processing Unitp. 17
Networksp. 19
Network Connectionsp. 19
Local-Area Networks and Wide-Area Networksp. 21
The Internetp. 22
The World Wide Webp. 24
Uniform Resource Locatorsp. 25
The Java Programming Languagep. 26
A Java Programp. 27
Commentsp. 29
Identifiers and Reserved Wordsp. 31
White Spacep. 33
Program Developmentp. 35
Programming Language Levelsp. 36
Editors, Compilers, and Interpretersp. 38
Development Environmentsp. 40
Syntax and Semanticsp. 41
Errorsp. 42
Object-Oriented Programmingp. 43
Problem Solvingp. 44
Object-Oriented Software Principlesp. 45
Data and Expressionsp. 61
Character Stringsp. 62
The print and println Methodsp. 62
String Concatenationp. 64
Escape Sequencesp. 66
Variables and Assignmentp. 69
Variablesp. 69
The Assignment Statementp. 71
Constantsp. 73
Primitive Data Typesp. 73
Integers and Floating Pointsp. 74
Charactersp. 75
Booleansp. 77
Expressionsp. 77
Arithmetic Operatorsp. 78
Operator Precedencep. 78
Increment and Decrement Operatorsp. 83
Assignment Operatorsp. 84
Data Conversionp. 85
Conversion Techniquesp. 87
Interactive Programsp. 88
The Scanner Classp. 88
Graphicsp. 93
Coordinate Systemsp. 94
Representing Colorp. 95
Appletsp. 96
Executing Applets Using the Webp. 98
Drawing Shapesp. 99
The Graphics Classp. 99
Using Classes and Objectsp. 113
Creating Objectsp. 114
Aliasesp. 116
The String Classp. 118
Packagesp. 121
The import Declarationp. 122
The Random Classp. 124
The Math Classp. 127
Formatting Outputp. 130
The NumberFormat Classp. 130
The DecimalFormat Classp. 133
The printf Methodp. 135
Enumerated Typesp. 135
Wrapper Classesp. 138
Autoboxingp. 141
Components and Containersp. 141
Frames and Panelsp. 142
Nested Panelsp. 145
Imagesp. 148
Writing Classesp. 155
Anatomy of a Classp. 156
Instance Datap. 161
UML Class Diagramsp. 162
Encapsulationp. 163
Visibility Modifiersp. 164
Accessors and Mutatorsp. 165
Anatomy of a Methodp. 166
The return Statementp. 167
Parametersp. 169
Local Datap. 170
Bank Account Examplep. 171
Constructors Revisitedp. 175
Graphical Objectsp. 175
Graphical User Interfacesp. 184
Buttonsp. 185
Text Fieldsp. 189
Conditionals and Loopsp. 201
Boolean Expressionsp. 202
Equality and Relational Operatorsp. 203
Logical Operatorsp. 204
The if Statementp. 207
The if-else Statementp. 209
Using Block Statementsp. 212
The Conditional Operatorp. 217
Nested if Statementsp. 218
Comparing Datap. 220
Comparing Floatsp. 220
Comparing Charactersp. 221
Comparing Objectsp. 222
The switch Statementp. 223
The while Statementp. 227
Infinite Loopsp. 232
Nested Loopsp. 234
Other Loop Controlsp. 237
Iteratorsp. 238
Reading Text Filesp. 239
The do Statementp. 242
The for Statementp. 245
Iterators and for Loopsp. 249
Comparing Loopsp. 251
Drawing with Loops and Conditionalsp. 251
Determining Event Sourcesp. 254
Dialog Boxesp. 260
More Button Componentsp. 263
Check Boxesp. 264
Radio Buttonsp. 267
Object-Oriented Designp. 287
Software Development Activitiesp. 288
Identifying Classes and Objectsp. 289
Assigning Responsibilitiesp. 291
Static Class Membersp. 291
Static Variablesp. 292
Static Methodsp. 292
Class Relationshipsp. 296
Dependencyp. 296
Dependencies Among Objects of the Same Classp. 296
Aggregationp. 303
The this Referencep. 305
Interfacesp. 309
The Comparable Interfacep. 315
The Iterator Interfacep. 316
Enumerated Types Revisitedp. 316
Method Designp. 319
Method Decompositionp. 320
Method Parameters Revisitedp. 325
Method Overloadingp. 328
Testingp. 333
Reviewsp. 334
Defect Testingp. 334
GUI Designp. 336
Layout Managersp. 337
Flow Layoutp. 339
Border Layoutp. 344
Grid Layoutp. 348
Box Layoutp. 350
Bordersp. 354
Containment Hierarchiesp. 358
Arraysp. 369
Array Elementsp. 370
Declaring and Using Arraysp. 371
Bounds Checkingp. 373
Alternate Array Syntaxp. 379
Initializer Listsp. 379
Arrays as Parametersp. 380
Arrays of Objectsp. 381
Command-Line Argumentsp. 392
Variable Length Parameter Listsp. 394
Two-Dimensional Arraysp. 398
Multidimensional Arraysp. 402
The ArrayList Classp. 403
Specifying an ArrayList Element Typep. 404
ArrayList Efficiencyp. 406
Polygons and Polylinesp. 407
The Polygon Classp. 408
Mouse Eventsp. 412
Key Eventsp. 420
Inheritancep. 437
Creating Subclassesp. 438
The protected Modifierp. 443
The super Referencep. 444
Multiple Inheritancep. 448
Overriding Methodsp. 449
Shadowing Variablesp. 451
Class Hierarchiesp. 452
The Object Classp. 454
Abstract Classesp. 455
Interface Hierarchiesp. 457
Visibilityp. 458
Designing for Inheritancep. 461
Restricting Inheritancep. 462
The Component Class Hierarchyp. 463
Extending Adapter Classesp. 465
The Timer Classp. 469
Polymorphismp. 481
Late Bindingp. 482
Polymorphism via Inheritancep. 483
Polymorphism via Interfacesp. 496
Sortingp. 498
Selection Sortp. 498
Insertion Sortp. 505
Comparing Sortsp. 506
Searchingp. 507
Linear Searchp. 507
Binary Searchp. 511
Comparing Searchesp. 513
Designing for Polymorphismp. 513
Event Processingp. 514
File Choosersp. 515
Color Choosersp. 518
Slidersp. 521
Exceptionsp. 531
Exception Handlingp. 532
Uncaught Exceptionsp. 533
The try-catch Statementp. 534
The finally Clausep. 537
Exception Propagationp. 538
The Exception Class Hierarchyp. 541
Checked and Unchecked Exceptionsp. 544
I/O Exceptionsp. 545
Tool Tips and Mnemonicsp. 549
Combo Boxesp. 556
Scroll Panesp. 562
Split Panesp. 564
Recursionp. 575
Recursive Thinkingp. 576
Infinite Recursionp. 577
Recursion in Mathp. 577
Recursive Programmingp. 578
Recursion vs. Iterationp. 581
Direct vs. Indirect Recursionp. 581
Using Recursionp. 582
Traversing a Mazep. 582
The Towers of Hanoip. 588
Recursion in Graphicsp. 593
Tiled Picturesp. 593
Fractalsp. 596
Collectionsp. 611
Collections and Data Structuresp. 612
Separating Interface from Implementationp. 612
Dynamic Representationsp. 613
Dynamic Structuresp. 613
A Dynamically Linked Listp. 614
Other Dynamic List Representationsp. 619
Linear Data Structuresp. 621
Queuesp. 621
Stacksp. 622
Non-Linear Data Structuresp. 624
Treesp. 625
Graphsp. 626
The Java Collections APIp. 628
Genericsp. 628
Glossaryp. 639
Number Systemsp. 665
The Unicode Character Setp. 673
Java Operatorsp. 677
Java Modifiersp. 683
Java Coding Guidelinesp. 687
Java Appletsp. 693
Regular Expressionsp. 695
JavaDocp. 697
The PaintBox Projectp. 703
GUI Eventsp. 715
Java Syntaxp. 719
The Java Class Libraryp. 733
Indexp. 893
Table of Contents provided by Ingram. All Rights Reserved.

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