Skip to content

Introduction to Computer Science Using Java

Best in textbook rentals since 2012!

ISBN-10: 0070342245

ISBN-13: 9780070342248

Edition: 1st 1997

Authors: Samuel N. Kamin, M. Dennis Mickunas, Edward M. Reingold

List price: $76.88
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!

This text covers all the essentials of programming, such as one might find in a book on a simpler programming language like Fortran, C, or Pascal.
Customers also bought

Book details

List price: $76.88
Edition: 1st
Copyright year: 1997
Publisher: McGraw-Hill Higher Education
Binding: Paperback
Pages: 576
Language: English

List of Figuresp. x
List of Tablesp. xvi
List of Bug Alertsp. xviii
Prefacep. xx
What is Programming?
Mechanical Mouse in a Mazep. 4
Object-Oriented Programmingp. 11
Computers and Data Representationsp. 13
Compilersp. 19
Debuggingp. 23
Applications and Appletsp. 25
Classes and Methods I: Basics
Some Simple Programsp. 31
Building Simple Classesp. 40
Text Outputp. 43
Drawing in Javap. 46
Fundamental Data Types of Java
Integersp. 57
Declarations, Variables, and Assignment Statementsp. 62
Real Numbersp. 66
Stringsp. 71
Debuggingp. 77
Pitfalls of Numbers, Strings, and Charactersp. 88
Decision Making
The if Statementp. 97
Constructing and Analyzing Boolean Expressionsp. 109
Comparing Objectsp. 117
switch Statementsp. 122
Debugging Decision Makingp. 128
More About Boolean Operatorsp. 136
Classes and Methods II: Classes with Multiple Methods
Building Classes with Multiple Methodsp. 149
Initialization of Instance Variablesp. 152
Scope of Variablesp. 153
Class Constructors with Argumentsp. 156
A Clock Classp. 157
Iteration
while Loopsp. 173
for Loopsp. 179
do-while Loopsp. 181
Loop Invariantsp. 183
Reading Input in a Loopp. 184
Debugging Loopsp. 192
More Drawing in Javap. 201
Iteration in Graphical Programsp. 203
Classes and Methods III: Working with Objects
Object-Oriented Programmingp. 215
Clocks Revisitedp. 219
Constructorsp. 221
Overloading Methodsp. 223
Methods Invoking Methodsp. 226
Thisp. 230
Visibility Qualifiersp. 235
Mutabilityp. 238
Design Decisions, Representation Independence, and Debuggingp. 242
What Is main?p. 254
One-Dimensional Arrays
Array Basicsp. 263
Simple Array-Processing Loopsp. 269
Simple Computations on Numerical Datap. 271
Arrays of Objectsp. 277
Debugging Arraysp. 283
Sorting and Searchingp. 296
One-Dimensional Arrays and Graphicsp. 303
Nested Loops and Two-Dimensional Arrays
Nested Loopsp. 313
Two-Dimensional Arraysp. 321
Example: Crossword Puzzlesp. 329
Mouse in a Maze Revisitedp. 336
Drawing Pictures (advanced)p. 345
Classes and Methods IV: Static Methods and Variables
Class Variables and Class Methodsp. 365
Classes with No Instance Variables or Methodsp. 369
Modular Development and Debuggingp. 375
Interfacesp. 388
The Java AWT Part I: Mouse Events (Optional)
Mouse Eventsp. 399
Objects in GUI Programsp. 405
Debugging Classesp. 410
Inheritance and Exceptions
Packagesp. 423
Inheritancep. 426
Exceptionsp. 449
Java AWT Part II (Optional)
The Java AWTp. 473
The Java AWT Event Modelp. 482
A Temperature Conversion GUIp. 485
Using Conditionals with Reactive Componentsp. 491
Drawing in a Framep. 499
The AWT Component Hierarchyp. 503
The Canvas Classp. 505
Designing the Screen Layoutp. 509
A Calendar Programp. 516
Java and the Webp. 522
Recursion
Introduction to Recursionp. 537
A First Examplep. 539
Divide and Conquerp. 541
Under the Hoodp. 543
Processing Arrays Recursivelyp. 546
Recursive Functions on Listsp. 564
Dynamic Programmingp. 580
Recursive Drawingsp. 583
Text Processing and File Input/Output
The Classes String and StringBufferp. 607
Sequential Filesp. 609
Debugging File I/Op. 615
A Mail-Merge Applicationp. 619
A Database Applicationp. 623
Reading Input from the Web (Optional)p. 631
Case Study: the Game of Reversi
The Game of Reversip. 641
Organization of the Solutionp. 644
The Classesp. 646
The Reversi Classesp. 648
Other Java Features
Commentsp. 670
No Preprocessorp. 671
Data Typesp. 671
Control Structuresp. 674
The final Modifierp. 675
Inner Classesp. 675
Concurrency-Related Featuresp. 676
The transient and native Modifiersp. 677
Precedence Rules
Classes in CSLib and the Java API
Classes in the CSLib packagep. 681
Classes in the java.lang Packagep. 684
Classes in the java.util Packagep. 687
Classes in the java.awt Packagep. 688
Classes in the java.awt.event Packagep. 695
Classes in the java.applet Packagep. 698
Classes in the java.io Packagep. 698
UML Class Diagrams
Specifying a Classp. 700
Associationsp. 703
Inheritance and Generalizationp. 704
Aggregationsp. 704
Interfaces and Realizationp. 705
Javadoc and CSLib
Javadocp. 706
The CSLib Packagep. 708
Indexp. 735
Table of Contents provided by Syndetics. All Rights Reserved.