AUTOR: Bruce Eckel
ISBN: 0131872486
PÁGINAS: 1482

 
   
RECOMENDADO EN LAS SIGUIENTES ASIGNATURAS
Programación orientada a objetos

 
RESUMEN

These are the awards for "Thinking in Java" - 2003 Software Development Magazine Jolt Award for Best Book - 2003 Java Developer's Journal Reader's Choice Award for Best Book - 2001 JavaWorld Editor's Choice Award for Best Book - 2000 JavaWorld Reader's Choice Award for Best Book - 1999 Software Development Magazine Productivity Award - 1998 Java Developer's Journal Editor's Choice Award for Best Book. What people are saying: "The best book on Java... Your depth is amazing." This title is definitely the thinking person's choice in a Java book. "Absolutely one of the best programming tutorials I've seen for any language." "Thinking in Java" has earned raves from programmers worldwide for its extraordinary clarity, careful organization, and small, direct programming examples. From the fundamentals of Java syntax to its most advanced features, "Thinking in Java" is designed to teach, one simple step at a time. This is the classic object-oriented introduction for beginners and experts alike, fully updated for J2SE5/6 with many new examples and chapters! It has a Test framework shows program output.Design patterns are shown with multiple examples throughout: Adapter, Bridge, Chain of Responsibility, Command, Decorator, Facade, Factory Method, Flyweight, Iterator, Data Transfer Object, Null Object, Proxy, Singleton, State, Strategy, Template Method, and Visitor. It provides introduction to XML for data transfer; SWT, Flash for user interfaces. Completely rewritten Concurrency chapter gives you a solid grasp of threading fundamentals. It contains 500+ working Java programs in 700+ compiling files, rewritten for this edition. Companion web site includes all source code, annotated solution guide, weblog, and multimedia seminars. It offers thorough coverage of fundamentals; and demonstrates advanced topics. It explains sound object-oriented principles. Hands-On Java Seminar is available online, with full multimedia seminar by Bruce Eckel.
 
INDICE

Preface 1Introduction 13Prerequisites 14Learning Java 14Goals 15Teaching from this book 16JDK HTML documentation 17Exercises 17Foundations for Java 18Source code 18Errors 21Introduction to Objects 23The progress of abstraction 24An object has an interface 26An object provides services 29The hidden implementation 30Reusing the implementation 32Inheritance 33Interchangeable objects with polymorphism 38The singly rooted hierarchy 43Containers 44Object creation & lifetime 46Exception handling: dealing with errors 49Concurrent programming 50Java and the Internet 51Summary 60Everything Is an Object 61You manipulate objects with references 61You must create all the objects 63You never need to destroy an object 67Creating new data types: class 69Methods, arguments, and return values 72Building a Java program 74Your first Java program 78Comments and embedded documentation 81Coding style 88Summary 89Exercises 89Operators 93Simpler print statements 93Using Java operators 94Precedence 95Assignment 95Mathematical operators 98Auto increment and decrement 101Relational operators 103Logical operators 105Literals 108Bitwise operators 111Shift operators 112Ternary if-else operator 116String operator and 118Common pitfalls when using operators 119Casting operators 120Java has no " sizeof" 122A compendium of operators 123Summary 133Controlling Execution 135true and false 135if-else 135Iteration 137Foreach syntax 140return 143break and continue 144The infamous " goto" 146switch 151Summary 154Initialization & Cleanup 155Guaranteed initialization with the constructor 155Method overloading 158Default constructors. Etc...