Amazon cover image
Image from Amazon.com

Thinking in Java / Bruce Eckel.

By: Publication details: Upper Saddle River, NJ : Prentice Hall, c2006.Edition: 4th edDescription: 1482 p. : ill. ; 24 cmISBN:
  • 0131872486 (pbk. : alk. paper)
  • 9780131872486
Subject(s): DDC classification:
  • 005.133 22 1
LOC classification:
  • QA76.73.J38 E25 2006
Online resources:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Current library Call number Status Date due Barcode
Book Open Access Book Open Access Engineering Library 005.133 ECK (Browse shelf(Opens below)) Available BUML23100985

CONTENT

Introduction to objects
Prerequisites
Learning java
Goals
Teaching from this book
etc.


Introduction to objects
The progress of abstraction
An object has an interface
An object provides services
The hidden implementation
Reusing the implementation
etc.


Everything is an object
You manipulate objects with reference
You must create all objects
You never need to destroy an object
Creating new data types
etc.


Operators
Simpler print statements
Using java operators
Precedence
Assignment
Mathematical operators
etc.


Controlling execution
True and false
If - else
Iteration
Foreach syntax
return
break and continue
etc.


Initialization &cleanup
Guaranteed initialization with the constructor
Method overloading
Default constructors
The this keyword
etc.


Access control
package
the library unit
Java access specifiers
Interface and implementation


Reusing classes
Composition syntax
Inheritance syntax
Delegation
Combining composition and inheritance
etc.


Polymorphism
Upcasting revisited
The twist
Constructors and polymorphism
Covariant return types
etc.


Interfaces
Abstract classes and methods
Interfaces
Complete decoupling 'multiple inheritance' in java
Extending an interface with inheritance
Adapting to an interface with inheritance
etc.


Inner classes
Creating inner classes
The link to the outer class
Using. This and .new
Inner classes and upcasting
Inner classes and upcasting
Inner classes in methods and scopes
etc.


Holding your objects
Generics and type-safe containers
Basic concepts
Adding groups of elements
Printing containers
etc.


Error handling with exceptions
Concepts
Basic exceptions
Catching an exception
Creating your own exceptions
The exception specification
etc.


Strings
Immutable strings overloading '+' vs
String builder
Unintended recursion
Operations on strings
etc.


Type information
The need for RTTI
The class object
Checking before a cast
Registered factors
etc.


Generics
Comparison with C++
Simple generics
Generic interfaces
Generic methods
Anonymous
etc.


Arrays
Why Arrays are special
Arrays are first-class objects
Returning an array
Multidimensional arrays
Arrays
Arrays and generics
etc.


Containers in depth
Full container taxonony
Filling containers
Collection
functionality
etc.


I/O
The file class
Input and output
Adding attributes and useful interfaces
Readers and writers
etc.


Enumerated types
Basic enum features
Adding methods to an enum
enums in switch statements
The mystery of values ()
Implements,not inherits
etc.


Annotations
Basic syntax
Writing annotation processors
Using apt to process annotations
Using the visitor pattern with apt
etc.


Concurrency
The many faces of concurrency
Basic threading
Sharing resources
Terminating tasks
etc.


Graphical user interfaces
Applets
Swing basics
Making a button capture an event
Text areas
Controlling layout
etc.

Includes bibliographical references and index.

There are no comments on this title.

to post a comment.