Skip to content

Art of Java

Best in textbook rentals since 2012!

ISBN-10: 0072229713

ISBN-13: 9780072229714

Edition: 2003

Authors: Herbert Schildt, James Holmes

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

This text provides complex code examples that demonstrate the elegance and artistry of Java. Tips and tricks are also included.
Customers also bought

Book details

List price: $39.99
Copyright year: 2003
Publisher: McGraw-Hill Osborne
Publication date: 7/25/2003
Binding: Paperback
Pages: 400
Size: 7.25" wide x 9.00" long x 1.00" tall
Weight: 1.694
Language: English

Herbert Schildt is a world leading programming author. He is an authority on the C, C++, Java, and C# programming languages, and a master Windows programmer. His programming books have sold more than three million copies worldwide and have been translated into all major foreign languages. He is the author of numerous best sellers including C: The Complete Reference, Java 2: The Complete Reference, Java 2: A Beginner's Guide, C#: A Beginner's Guide, and many more. Schildt holds a master's degree in computer science from the University of Illinois.

Prefacep. ix
The Genius of Javap. 1
Simple Types and Objects: The Right Balancep. 2
Memory Management Through Garbage Collectionp. 3
A Wonderfully Simple Multithreading Modelp. 4
Fully Integrated Exceptionsp. 5
Streamlined Support for Polymorphismp. 5
Portability and Security Through Bytecodep. 6
The Richness of the Java APIp. 6
The Appletp. 7
The Continuing Revolutionp. 8
A Recursive-Descent Expression Parserp. 9
Expressionsp. 10
Parsing Expressions: The Problemp. 11
Parsing an Expressionp. 12
Dissecting an Expressionp. 13
A Simple Expression Parserp. 17
Understanding the Parserp. 24
Adding Variables to the Parserp. 25
Syntax Checking in a Recursive-Descent Parserp. 35
A Calculator Appletp. 36
Some Things to Tryp. 38
Implementing Language Interpreters in Javap. 39
What Computer Language to Interpret?p. 40
An Overview of the Interpreterp. 42
The Small BASIC Interpreterp. 42
The Small BASIC Expression Parserp. 64
Small BASIC Expressionsp. 64
Small BASIC Tokensp. 65
The Interpreterp. 70
The InterpreterException Classp. 70
The SBasic Constructorp. 70
The Keywordsp. 72
The run() Methodp. 73
The sbInterp() Methodp. 74
Assignmentp. 75
The PRINT Statementp. 76
The INPUT Statementp. 78
The GOTO Statementp. 79
The IF Statementp. 82
The FOR Loopp. 82
The GOSUBp. 85
The END Statementp. 87
Using Small BASICp. 87
More Small BASIC Sample Programsp. 88
Enhancing and Expanding the Interpreterp. 90
Creating Your Own Computer Languagep. 90
Creating a Download Manager in Javap. 91
Understanding Internet Downloadsp. 92
An Overview of the Download Managerp. 93
The Download Classp. 94
The Download Variablesp. 98
The Download Constructorp. 98
The download() Methodp. 98
The run() Methodp. 99
The stateChanged() Methodp. 102
Action and Accessor Methodsp. 103
The ProgressRenderer Classp. 103
The DownloadsTableModel Classp. 104
The addDownload() Methodp. 106
The dearDownload() Methodp. 107
The getColumnClass() Methodp. 107
The getValueAt() Methodp. 108
The update() Methodp. 108
The DownloadManager Classp. 109
The DownloadManager Variablesp. 115
The DownloadManager Constructorp. 115
The verifyUrl() Methodp. 116
The tableSelectionChanged() Methodp. 117
The updateButtons() Methodp. 117
Handling Action Eventsp. 119
Compiling and Running the Download Managerp. 119
Enhancing the Download Managerp. 120
Implementing an E-mail Client in Javap. 121
E-mail Behind the Scenesp. 122
POP3p. 123
IMAPp. 123
SMTPp. 123
The General Procedure for Sending and Receiving E-mailp. 123
The JavaMail APIp. 124
An Overview of Using JavaMailp. 124
A Simple E-mail Clientp. 125
The ConnectDialog Classp. 126
The DownloadingDialog Classp. 132
The MessageDialog Classp. 134
The MessagesTableModel Classp. 141
The EmailClient Classp. 145
Compiling and Running the E-mail Clientp. 163
Expanding Beyond the Basic E-mail Clientp. 165
Crawling the Web with Javap. 167
Fundamentals of a Web Crawlerp. 168
Adhering to the Robot Protocolp. 169
An Overview of the Search Crawlerp. 171
The SearchCrawler Classp. 172
The SearchCrawler Variablesp. 190
The SearchCrawler Constructorp. 190
The actionSearch() Methodp. 191
The search() Methodp. 193
The showError() Methodp. 196
The updateStats() Methodp. 196
The addMatch() Methodp. 197
The verifyUrl() Methodp. 198
The isRobotAllowed() Methodp. 199
The downloadPage() Methodp. 202
The removeWwwFromUrl() Methodp. 203
The retrieveLinks() Methodp. 203
The searchStringMatches() Methodp. 210
The crawl() Methodp. 211
Compiling and Running the Search Web Crawlerp. 214
Web Crawler Ideasp. 215
Rendering HTML with Javap. 217
Rendering HTML with JEditorPanep. 218
Handling Hyperlink Eventsp. 219
Creating a Mini Web Browserp. 220
The MiniBrowser Classp. 221
The MiniBrowser Variablesp. 226
The MiniBrowser Constructorp. 227
The actionBack() Methodp. 227
The actionForward() Methodp. 228
The actionGo() Methodp. 228
The showError() Methodp. 229
The verifyUrl() Methodp. 229
The showPage() Methodp. 230
The updateButtons() Methodp. 232
The hyperlinkUpdate() Methodp. 232
Compiling and Running the Mini Web Browserp. 233
HTML Renderer Possibilitiesp. 234
Statistics, Graphing, and Javap. 235
Samples, Populations, Distributions, and Variablesp. 236
The Basic Statisticsp. 237
The Meanp. 237
The Medianp. 238
The Modep. 239
Variance and Standard Deviationp. 240
The Regression Equationp. 242
The Correlation Coefficientp. 243
The Entire Stats Classp. 246
Graphing Datap. 250
Scaling Datap. 250
The Graphs Classp. 251
The Graphs final and Instance Variablesp. 255
The Graphs Constructorp. 257
The paint() methodp. 258
The bargraph() Methodp. 262
The scatter() Methodp. 262
The regplot() Methodp. 263
A Statistics Applicationp. 263
The StatsWin Constructorp. 268
The itemStateChanged() Handlerp. 269
The actionPerformed() Methodp. 270
The shutdown() Methodp. 270
The createMenu() Methodp. 271
The DataWin Classp. 271
Putting Together the Piecesp. 272
Creating a Simple Statistical Appletp. 274
Some Things to Tryp. 276
Financial Applets and Servletsp. 277
Finding the Payments for a Loanp. 278
The RegPay Fieldsp. 283
The init() Methodp. 283
The actionPerformed() Methodp. 286
The paint() Methodp. 286
The compute() Methodp. 287
Finding the Future Value of an Investmentp. 287
Finding the Initial Investment Required to Achieve a Future Valuep. 292
Finding the Initial Investment Needed for a Desired Annuityp. 296
Finding the Maximum Annuity for a Given Investmentp. 301
Finding the Remaining Balance on a Loanp. 305
Creating Financial Servletsp. 310
Using Tomcatp. 310
Converting the RegPay Applet into a Servletp. 311
The RegPayS Servletp. 311
Some Things to Tryp. 316
Al-Based Problem Solvingp. 317
Representation and Terminologyp. 318
Combinatorial Explosionsp. 320
Search Techniquesp. 322
Evaluating a Searchp. 322
The Problemp. 322
A Graphic Representationp. 323
The FlightInfo Classp. 325
The Depth-First Searchp. 325
An Analysis of the Depth-First Searchp. 336
The Breadth-First Searchp. 336
An Analysis of the Breadth-First Searchp. 338
Adding Heuristicsp. 339
The Hill-Climbing Searchp. 340
An Analysis of Hill Climbingp. 345
The Least-Cost Searchp. 346
An Analysis of the Least-Cost Searchp. 347
Finding Multiple Solutionsp. 348
Path Removalp. 349
Node Removalp. 350
Finding the "Optimal" Solutionp. 356
Back to the Lost Keysp. 361
Indexp. 367
Table of Contents provided by Ingram. All Rights Reserved.