Java in a nutshell
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 "&qu...
Other Authors: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
Beijing ; Sebastopol, California :
O'Reilly
2005.
|
Edition: | 5th ed |
Series: | In a nutshell (O'Reilly & Associates)
|
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627138706719 |
Table of Contents:
- Table of Contents; apt 326; extcheck 327; jarsigner 328; jar 329; java 332; javac 338; javadoc 342; javah 348; javap 349; javaws 351; jconsole 352; jdb 353; jinfo 357; jmap 358; jps 358; jsadebugd 359; jstack 359; jstat 360; jstatd 362; keytool 362; native2ascii 366; pack200 366; policytool 368; serialver 370; unpack200 370; Preface; Changes in the Fifth Edition; Contents of This Book; Related Books; Examples Online; Conventions Used in This Book; Request for Comments; How the Quick Reference Is Generated; Acknowledgments; I; Chapter 1. Introduction; What Is Java?
- The Java Programming LanguageThe Java Virtual Machine; The Java Platform; Versions of Java; Key Benefits of Java; Write Once, Run Anywhere; Security; Network-Centric Programming; Dynamic, Extensible Programs; Internationalization; Performance; Programmer Efficiency and Time-to-Market; An Example Program; Compiling and Running the Program; Analyzing the Program; Comments; Defining a class; Defining a method; Declaring a variable and parsing input; Computing the result; Displaying output; The end of a method; Blank lines; Another method; Checking for valid input; An important variable
- Looping and computing the factorialReturning the result; Exceptions; Chapter 2. Java Syntax from the Ground Up; Java Programs from the Top Down; Lexical Structure; The Unicode Character Set; Case-Sensitivity and Whitespace; Comments; Reserved Words; Identifiers; Literals; Punctuation; Primitive Data Types; The boolean Type; The char Type; Strings; Integer Types; Floating-Point Types; Primitive Type Conversions; Expressions and Operators; Operator Summary; Precedence; Associativity; Operand number and type; Return type; Side effects; Order of evaluation; Arithmetic Operators
- String Concatenation OperatorIncrement and Decrement Operators; Comparison Operators; Boolean Operators; Bitwise and Shift Operators; Assignment Operators; The Conditional Operator; The instanceof Operator; Special Operators; Statements; Expression Statements; Compound Statements; The Empty Statement; Labeled Statements; Local Variable Declaration Statements; The if/else Statement; The else if clause; The switch Statement; The while Statement; The do Statement; The for Statement; The for/in Statement; Iterable and iterator; What for/in cannot do; The break Statement; The continue Statement
- The return StatementThe synchronized Statement; The throw Statement; Exception types; The try/catch/finally Statement; try; catch; finally; The assert Statement; Compiling assertions; Enabling assertions; Using assertions; Methods; Defining Methods; Method Modifiers; Declaring Checked Exceptions; Variable-Length Argument Lists; Covariant Return Types; Classes and Objects Introduced; Defining a Class; Creating an Object; Using an Object; Object Literals; String literals; Type literals; The null reference; Arrays; Array Types; Array type widening conversions; C compatibility syntax
- Creating and Initializing Arrays