Thinking in Java 4th Edition

(häftad)

The definitive Introduction to object-oriented Programming in the Language of the World-Wide Web.

av Bruce Eckel

Bloggar      
Format:
Häftad (paperback)
Utgiven:
2006-03-01
Språk:
Engelska

Thinking in Java should be read cover to cover by every Java programmer, then kept close at hand for frequent reference. The exercises are challenging, and the chapter on Collections is superb! Not only did this book help me to pass the Sun Certified Java Programmer exam; its also the first book I turn to whenever I have a Java question.
Jim Pleger, Loudoun County (Virginia) GovernmentMuch better than any other Java book Ive seen. Make that by an order of magnitude.... Very complete, with excellent right-to-the-point examples and intelligent, not dumbed-down, explanations.... In contrast to many other Java books I found it to be unusually mature, consistent, intellectually honest, well-written, and precise. IMHO, an ideal book for studying Java.
Anatoly Vorobey, Technion University, Haifa, IsraelAbsolutely one of the best programming tutorials Ive seen for any language.
Joakim Ziegler, FIX sysopThank you again for your awesome book. I was really floundering (being a non-C programmer), but your book has brought me up to speed as fast as I could read it. Its really cool to be able to understand the underlying principles and concepts from the start, rather than having to try to build that conceptual model through trial and error. Hopefully I will be able to attend your seminar in the not-too-distant future.
Randall R. Hawley, automation technician, Eli Lilly & Co.This is one of the best books Ive read about a programming language.... The best book ever written on Java.
Ravindra Pai, Oracle Corporation, SUNOS product lineBruce, your book is wonderful! Your explanations are clear and direct. Through your fantastic book I have gained a tremendous amount of Java knowledge. The exercises are also fantastic and do an excellent job reinforcing the ideas explained throughout the chapters. I look forward to reading more books written by you. Thank you for the tremendous service that you are providing by writing such great books. My code will be much better after reading Thinking in Java. I thank you and Im sure any programmers who will have to maintain my code are also grateful to you.
Yvonne Watkins, Java artisan, Discover Technologies, Inc.Other books cover the what of Java (describing the syntax and the libraries) or the how of Java (practical programming examples). Thinking in Java is the only book I know that explains the why of Java: Why it was designed the way it was, why it works the way it does, why it sometimes doesnt work, why its better than C++, why its not. Although it also does a good job of teaching the what and how of the language, Thinking in Java is definitely the thinking persons choice in a Java book.
Robert S. StephensonAwards for Thinking in Java2003 Software Development Magazine Jolt Award for Best Book
2003 Java Develop...

Passar bra ihop

Thinking in Java 4th Edition + Core Java, Volume II - Advanced Features 8th Edition
De som köpt den här boken har ofta också köpt Core Java, Volume II - Advanced Features 8th Edition (häftad) av Cay S Horstmann, Gary Cornell
Pris för båda:
692:-Köp

Fler böcker av Bruce Eckel

Thinking in C++, Volume 2 (häftad)
Thinking in C++ (häftad)
Thinking In Java & Eval Online Resrces P (häftad)

Thinking in C++, Volume 2

Bruce Eckel (häftad)

Thinking in C++

Bruce Eckel

Thinking In Java & Eval Online Resrces P

Bruce Eckel
545:- Köp
402:- Köp
599:- Köp

Kundrecensioner

Bli först med att recensera och betygsätt boken Thinking in Java 4th Edition - du kan vinna 200 kr varje månad i tävlingen "Månadens recension".

Bloggat om Thinking in Java 4th Edition

Övrig information

Bruce Eckel is president of MindView, Inc. (www.MindView.net), which provides public and private training seminars, consulting, mentoring, and design reviews in object-oriented technology and design patterns. He is the author of several books, has written more than fifty articles, and has given lectures and seminars throughout the world for more than twenty years. Bruce has served as a voting member of the C++ Standards Committee. He holds a B.S. in applied physics and an M.S. in computer engineering.

Innehållsförteckning

Preface 1

Introduction 13

Prerequisites 14

Learning Java 14

Goals 15

Teaching from this book 16

JDK HTML documentation 17

Exercises 17

Foundations for Java 18

Source code 18

Errors 21

Introduction to Objects 23

The progress of abstraction 24

An object has an interface 26

An object provides services 29

The hidden implementation 30

Reusing the implementation 32

Inheritance 33

Interchangeable objects with polymorphism 38

The singly rooted hierarchy 43

Containers 44

Object creation & lifetime 46

Exception handling: dealing with errors 49

Concurrent programming 50

Java and the Internet 51

Summary 60

Everything Is an Object 61

You manipulate objects with references 61

You must create all the objects 63

You never need to destroy an object 67

Creating new data types: class 69

Methods, arguments, and return values 72

Building a Java program 74

Your first Java program 78

Comments and embedded documentation 81

Coding style 88

Summary 89

Exercises 89

Operators 93

Simpler print statements 93

Using Java operators 94

Precedence 95

Assignment 95

Mathematical operators 98

Auto increment and decrement 101

Relational operators 103

Logical operators 105

Literals 108

Bitwise operators 111

Shift operators 112

Ternary if-else operator 116

String operator + and += 118

Common pitfalls when using operators 119

Casting operators 120

Java has no sizeof 122

A compendium of operators 123

Summary 133

Controlling Execution 135

true and false 135

if-else 135

Iteration 137

Foreach syntax 140

return 143

break and continue 144

The infamous goto 146

switch 151

Summary 154

Initialization & Cleanup 155

Guaranteed initialization with the constructor 155

Method overloading 158

Default constructors 166

The this keyword 167

Cleanup: finalization and garbage collection 173

Member initialization 181

Constructor initialization 185

Array initialization 193

Enumerated types 204

Summary 207

Access Control 209

package: the library unit 210

Java access specifiers 221

Interface and implementation 228

Class access 229

Summary 233

Reusing Classes 237

Composition syntax 237

Inheritance syntax 241

Delegation 246

Combining composition and inheritance 249

Choosing composition vs. inheritance 256

protected 258

Upcasting 260

The final keyword 262

Initialization and class loading 272

Summary 274

Polymorphism 277

De som köpt "Thinking in Java 4th Edition" har även köpt:

Core Java, Volume II - Advanced Features 8th Edition (häftad)

Core Java, Volume II - Advanced Features 8th Edition

Cay S Horstmann, Gary Cornell (häftad)
321:-
Test Driven Development By Example (häftad)

Test Driven Development By Example

Kent Beck (häftad)
236:-
Learning MySQL (häftad)

Learning MySQL

Seyed M M Tahaghoghi, Hugh E Williams (häftad)
236:-
Javascript: The Good Parts (häftad)

Javascript: The Good Parts

Douglas Crockford (häftad)
166:-
Thinking in Java 4th Edition (häftad)
  • Titel: Thinking in Java 4th Edition
  • ISBN: 9780131872486
  • Förlag: PRENTICE-HALL
  • Utgivningsland: USA
  • Utgivningsort: Upper Saddle River
  • Illustrationer: illustrations
  • Upplaga: 4
  • Antal sidor: 1500
  • Vikt: 2040 g
  • Höjd: 240 mm
  • Antal komponenter: 1
  • Komponenter: Inkl. CD-ROM
  • Format: Häftad (paperback)