Java in a nutshell

cover image

Where to find it

Information & Library Science Library

Call Number
QA76.73.J38 F553 2005 c. 2
Status
Available

Undergrad Library

Call Number
QA76.73.J38 F553 2005
Status
Available

Authors, etc.

Names:

Summary

With more than 700,000 copies sold to date, Java in a Nutshell from O'Reilly is clearly the favorite resource amongst the legion of developers and programmers using Java technology. And now, with the release of the 5.0 version of Java, O'Reilly has given the book that defined the "in a Nutshell" category another impressive tune-up.

In this latest revision, readers will find Java in a Nutshell , 5th Edition, does more than just cover the extensive changes implicit in 5.0, the newest version of Java. It's undergone a complete makeover--in scope, size, and type of coverage--in order to more closely meet the needs of the modern Java programmer.

To wit, Java in a Nutshell , 5th Edition now places less emphasis on coming to Java from C and C++, and adds more discussion on tools and frameworks. It also offers new code examples to illustrate the working of APIs, and, of course, extensive coverage of Java 5.0. But faithful readers take comfort: it still hasn't lost any of its core elements that made it such a classic to begin with.

This handy reference gets right to the heart of the program with an accelerated introduction to the Javaprogramming language and its key APIs--ideal for developers wishing to start writing code right away. And, as was the case in previous editions, Java in a Nutshell , 5th Edition is once again chock-full of poignant tips, techniques, examples, and practical advice. For as longas Java has existed, Java in a Nutshell has helped developers maximize the capabilities of the program's newest versions. And this latest edition is no different.

Contents

  • Preface p. xvii
  • Part I Introducing Java
  • 1 Introduction p. 1
  • What Is Java? p. 1
  • Key Benefits of Java p. 4
  • An Example Program p. 7
  • 2 Java Syntax from the Ground Up p. 17
  • Java Programs from the Top Down p. 18
  • Lexical Structure p. 18
  • Primitive Data Types p. 21
  • Expressions and Operators p. 28
  • Statements p. 42
  • Methods p. 64
  • Classes and Objects Introduced p. 71
  • Arrays p. 74
  • Reference Types p. 81
  • Packages and the Java Namespace p. 89
  • Java File Structure p. 93
  • Defining and Running Java Programs p. 94
  • Differences Between C and Java p. 95
  • 3 Object-Oriented Programming in Java p. 98
  • Class Definition Syntax p. 99
  • Fields and Methods p. 100
  • Creating and Initializing Objects p. 106
  • Destroying and Finalizing Objects p. 111
  • Subclasses and Inheritance p. 114
  • Data Hiding and Encapsulation p. 123
  • Abstract Classes and Methods p. 128
  • Important Methods of java.lang.Object p. 130
  • Interfaces p. 135
  • Nested Types p. 140
  • Modifier Summary p. 156
  • C++ Features Not Found in Java p. 157
  • 4 Java 5.0 Language Features p. 159
  • Generic Types p. 160
  • Enumerated Types p. 178
  • Annotations p. 191
  • 5 The Java Platform p. 203
  • Java Platform Overview p. 203
  • Text p. 205
  • Numbers and Math p. 217
  • Dates and Times p. 221
  • Arrays p. 224
  • Collections p. 225
  • Threads and Concurrency p. 238
  • Files and Directories p. 252
  • Input/Output with java.io p. 254
  • Networking with java.net p. 258
  • I/O and Networking with java.nio p. 263
  • XML p. 276
  • Types, Reflection, and Dynamic Loading p. 283
  • Object Persistence p. 286
  • Security p. 288
  • Cryptography p. 290
  • Miscellaneous Platform Features p. 292
  • 6 Java Security p. 299
  • Security Risks p. 300
  • Java VM Security and Class File Verification p. 300
  • Authentication and Cryptography p. 301
  • Access Control p. 301
  • Security for Everyone p. 304
  • Permission Classes p. 306
  • 7 Programming and Documentation Conventions p. 308
  • Naming and Capitalization Conventions p. 308
  • Portability Conventions and Pure Java Rules p. 310
  • Java Documentation Comments p. 312
  • JavaBeans Conventions p. 320
  • 8 Java Development Tools p. 326
  • apt p. 326
  • extcheck p. 327
  • jarsigner p. 328
  • jar p. 329
  • java p. 332
  • javac p. 338
  • javadoc p. 342
  • javah p. 348
  • javap p. 349
  • javaws p. 351
  • jconsole p. 352
  • jdb p. 353
  • jinfo p. 357
  • jmap p. 358
  • jps p. 358
  • jsadebugd p. 359
  • jstack p. 359
  • jstat p. 360
  • jstatd p. 362
  • keytool p. 362
  • native2ascii p. 366
  • pack200 p. 366
  • policytool p. 368
  • serialver p. 370
  • unpack200 p. 370
  • Part II API Quick Reference
  • How to Use This Quick Reference p. 375
  • 9 java.io p. 385
  • 10 java.lang and Subpackages p. 439
  • 11 java.math p. 543
  • 12 java.net p. 549
  • 13 java.nio and Subpackages p. 586
  • 14 java.security and Subpackages p. 638
  • 15 java.text p. 724
  • 16 java.util and Subpackages p. 750
  • 17 javax.crypto and Subpackages p. 921
  • 18 javax.net and javax.net.ssl p. 946
  • 19 javax.security.auth and Subpackages p. 970
  • 20 javax.xml and Subpackages p. 994
  • 21 org.w3c.dom p. 1032
  • 22 org.xml.sax and Subpackages p. 1051
  • Class, Method, and Field Index p. 1077
  • Index p. 1147

Other details