Skip to content

Introduction to Object-Oriented Programming with Java

ISBN-10: 0256254621

ISBN-13: 9780256254624

Edition: 1997

Authors: C. Thomas Wu

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

An introductory text for beginners with no background in programming, this book teaches students how to write object-oriented programs and is appropriate for any first programming course in Java.
Customers also bought

Book details

List price: $66.88
Copyright year: 1997
Publisher: McGraw-Hill Higher Education
Binding: Paperback
Pages: 888
Size: 7.50" wide x 9.50" long x 1.50" tall
Weight: 2.794
Language: English

Prefacep. xiii
New Features in the Second Editionp. xiv
Major Featuresp. xv
Supplement Materialsp. xxiv
Book Organizationp. xxv
Acknowledgmentsp. xxvii
Introduction to Computers and Programming Languagesp. 1
A History of Computersp. 2
Computer Architecturep. 5
Programming Languagesp. 11
Javap. 13
Exercisesp. 14
Introduction to Object-Oriented Programming and Software Developmentp. 15
Classes and Objectsp. 16
Messages and Methodsp. 18
Class and Instance Data Valuesp. 23
Inheritancep. 26
Software Engineering and Software Life Cyclep. 29
Having Fun with Javap. 31
Exercisesp. 34
Java Programming Basicsp. 37
The First Java Applicationp. 38
Program Componentsp. 48
Edit--Compile--Run Cyclep. 59
The javabook Packagep. 61
Sample Program: Displaying Messagesp. 62
The First Java Appletp. 66
Exercisesp. 77
Numerical Datap. 83
Variablesp. 84
Arithmetic Expressionsp. 92
Constantsp. 98
The Math Classp. 100
InputBoxp. 103
OutputBoxp. 106
Sample Program: Loan Calculatorp. 113
Numerical Representation (Optional)p. 124
Exercisesp. 128
Defining Instantiable Classesp. 139
Defining Instantiable Classesp. 140
Instantiable Classes and Constructorsp. 152
Visibility Modifiers: public and privatep. 157
Local Variables, Return Values, and Parameter Passingp. 162
Loan Calculator Program with an Instantiable Classp. 167
Exercisesp. 181
Processing Input with Appletsp. 191
Placing GUI Objects on Appletsp. 192
Adding ActionListener to an Event Sourcep. 199
Absolute Positioning of GUI Objectsp. 206
The Button Classp. 208
Converting Text to a Numerical Valuep. 210
Sample Program: Finding Body Mass Index (BMI)p. 213
Running an Applet as an Applicationp. 223
Exercisesp. 224
Selection Statementsp. 229
The if Statementp. 230
Boolean Expressions and Variablesp. 238
Nested-if Statementsp. 242
ListBoxp. 249
The switch Statementp. 252
Sample Program: Drawing Shapesp. 258
Exercisesp. 280
Repetition Statementsp. 289
The while Statementp. 290
Pitfalls in Writing Repetition Statementsp. 294
The do--while Statementp. 299
ResponseBoxp. 303
The for Statementp. 308
Nested-for Statementsp. 312
The Format Classp. 316
Loan Tablesp. 322
Sample Program: Hi-Lo Gamep. 325
Recursive Methods (Optional)p. 338
Exercisesp. 343
Characters and Stringsp. 355
Charactersp. 356
Stringsp. 359
Primitive versus Reference Typesp. 370
StringBufferp. 379
Passing Objects as Parametersp. 384
Returning an Object from Methodsp. 389
Sample Program: Word Playp. 392
Exercisesp. 404
Arraysp. 411
Array Basicsp. 412
Arrays of Objectsp. 421
Passing Arrays to Methodsp. 431
MultilnputBoxp. 436
Self-Referencing Pointerp. 439
Sample Development: The Address Bookp. 446
Two-Dimensional Arraysp. 463
Vectorsp. 470
Exercisesp. 476
Sorting and Searchingp. 481
Searchingp. 482
Sortingp. 488
Heapsortp. 495
Sample Program: Sorting an AddressBookp. 509
Exercisesp. 515
File Input and Outputp. 519
File and FileDialog Objectsp. 520
Low-Level File I/Op. 525
High-Level File I/Op. 532
Handling Exceptionsp. 539
Object I/Op. 544
Sample Class: Saving an AddressBook Objectp. 548
Exercisesp. 556
Reusable Classes and Packagesp. 559
Object Categoriesp. 560
Method Overriding and Overloaded Methodsp. 562
Sample Classes: Reusable EggyPeggy and HiLop. 569
Package Organizationp. 595
Exercisesp. 597
GUI Objects and Event-Driven Programmingp. 603
Placing Buttons on a Framep. 605
Handling Eventsp. 611
Placing TextField Objects on a Framep. 618
Menusp. 620
Handling Mouse Eventsp. 626
Other GUI Objectsp. 634
Sample Program: A Simple Calculatorp. 639
Exercisesp. 652
Inheritance and Polymorphismp. 657
Defining Classes with Inheritancep. 658
Using Classes Effectively with Polymorphismp. 662
Inheritance and Member Accessibilityp. 666
Inheritance and Constructorsp. 672
Abstract Superclasses and Abstract Methodsp. 676
When and When Not to Use Inheritancep. 682
Sample Program: Computing Course Gradesp. 684
Exercisesp. 704
Class Roster Maintenance Programp. 709
Method Call Sequence Diagramp. 710
Problem Statementp. 711
Overall Planningp. 712
Step 1 Development: Program Shell with Menusp. 716
Step 2 Development: Create a New Rosterp. 722
Step 3 Development: Add Studentsp. 729
Step 4 Development: Delete Studentsp. 737
Step 5 Development: Edit Student Namesp. 740
Step 6 Development: Edit Test Scores and Compute Gradesp. 746
Step 7 Development: Display Student Informationp. 753
Step 8 Development: Storing Grade Rostersp. 765
Step 9 Development: Finalize and Improvep. 775
The StudentNameDialog Classp. 776
The TestScoreDialog Classp. 786
Exercisesp. 791
Recursive Algorithmsp. 797
Basic Elements of Recursionp. 798
Directory Listingp. 799
Anagramp. 801
Towers of Hanoip. 805
Quicksortp. 809
When Not to Use Recursionp. 815
Exercisesp. 817
The javabook Packagep. 819
Table of Contents provided by Syndetics. All Rights Reserved.