Table Of ContentWhats Inside. Foreword. Introduction. Prerequisites. Learning Java. Goals. Online Documentation. Chapters. Exercises. Multimedia CD ROM. Source Code. Coding Standards. Java Versions. Seminars and Mentoring. Errors. Note on the Cover Design. Acknowledgments. 1. Introduction to Objects. The Progress of Abstraction. An Object has an Interface. The Hidden Implementation. Reusing the Implementation. Inheritance: Reusing the Interface. Overriding base-Class Functionality. Is-a vs. is-like-a Relationships. Interchangeable Objects with Polymorphism. Dynamic Binding. Abstract Base Classes and Interfaces. Object Landscapes and Lifetimes. Collections and Iterators. The Singly-Rooted Hierarchy. Collection Libraries and Support for Easy Collection Use. The Housekeeping Dilemma: Who Should Clean Up? Exception Handling: Dealing with Errors. Multithreading. Persistence. Java and the Internet. What is the Web? Client-side Programming. Server-side Programming. A separate arena: Applications. Analysis and Design. Staying on Course. Phase 0: Lets Make a Plan. Phase 1: What are We Making? Phase 2: How Will We Build It? Phase 3: Lets Build It! Phase 4: Iteration. Plans Pay Off. Java vs. C++? 2. Everything is an Object. You Manipulate Objects with Handles. You Must Create All the Objects. Where Storage Lives. Special Case: Primitive Types. Arrays in Java. You Never Need to Destroy an Object. Scoping. Scope of Objects. Creating New Data Types: Class. Fields and Methods. Methods, Arguments and Return Values. The Argument List. Building a Java Program. Name Visibility. Using Other Components. The Static Keyword. Your First Java Program. Comments and Embedded Documentation. Comment Documentation. Syntax. Embedded HTML. See: Referring to Other Classes. Class Documentation Tags. Variable Documentation Tags. Method Documentation Tags. Documentation Example. Coding style. Summary. Exercises. 3. Controlling Program Flow. Using Java Operators. Precedence. Assignment. Mathematical Operators. Auto Increment and Decrement. Relational Operators. Logical Operators. Bitwise Operators. Shift Operators. Ternary If-Else Operator. The Comma Operator. String Operator +. Common pitfalls when using Operators. Casting Operators. Java has no sizeof. Precedence Revisited. A Compendium of Operator. Execution Control. True and False. If-Else. Iteration. Do-While. For. Break and Continue Switch. Summary. Exercises. 4. Initialization and Cleanup. Guaranteed Initialization with the Constructor. Method Overloading. Distinguishing Overloaded M
SynopsisIn this work, the author introduces the basics of objects as Java uses them. He then goes through the fundamental concepts underlying all Java programming, including program flow, initialization and clean-up, hiding implementations, reusing classes and polymorphism. Using examples, he introcuces error-handling, exceptions, Java I/O, run-time type identification, and passing and returing objects. He covers the Java AWT, multithreading, and network programming with Java., Thinking in Java is a "brash, arrogant, opinionated, independent, knowledgeable, interesting, readable book on Java." Eckel uses superb analogies between software concepts and everyday things to deliver a book ideal for teaching. It is unique because it was made available by Eckel on the Internet and so has been tested by thousands of users. Many of these people are waiting for the book to arrive.
LC Classification NumberQA76.73.J38E25 1998
Bewertungen und Rezensionen
5.0
1 Produktbewertung
5
1 Nutzer haben dieses Produkt mit 5 von 5 Sternen bewertet
1
4
0 Nutzer haben dieses Produkt mit 4 von 5 Sternen bewertet
0
3
0 Nutzer haben dieses Produkt mit 3 von 5 Sternen bewertet
0
2
0 Nutzer haben dieses Produkt mit 2 von 5 Sternen bewertet
0
1
0 Nutzer haben dieses Produkt mit 1 von 5 Sternen bewertet