Thinking in Java

Thinking in Java - Thinking in Java, 3rd ed. Revision 4.0 -...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Thinking in Java, 3rd ed. Revision 4.0 - Contents Thinking in Java, 3rd ed. Revision 4.0 - Title Page • Bruce Eckel’s Hands-On Java Seminar Multimedia CD: 3rd Edition follows this book It’s like coming to the seminar! Available at www.BruceEckel.com • Preface o Preface to the 3rd edition o Java 2, JDK 1.4 • Introduction o Prerequisites o Learning Java o Goals o JDK HTML documentation o Chapters o Exercises o The CD ROM o Source code Coding standards o Java versions o Errors o Note on the cover design o Acknowledgements • 1: Introduction to Objects o The progress of abstraction o An object has an interface o An object provides services o The hidden implementation o Reusing the implementation o Inheritance: reusing the interface Is-a vs. is-like-a relationships o Interchangeable objects with polymorphism Abstract base classes and interfaces o Object creation, use & lifetimes Collections and iterators The singly rooted hierarchy Downcasting vs. templates/generics Ensuring proper cleanup Garbage collectors vs. efficiency and flexibility o Exception handling: dealing with errors o Concurrency o Persistence o Java and the Internet What is the Web? Client/Server computing The Web as a giant server Client-side programming Plug-ins Scripting languages Java .NET and C# Security Internet vs. intranet Server-side programming Applications o Why Java succeeds Systems are easier to express and understand Maximal leverage with libraries Error handling Programming in the large o Java vs. C++? o Summary • 2: Everything is an Object o You manipulate objects with references o You must create all the objects Where storage lives Special case: primitive types High-precision numbers Arrays in Java o You never need to destroy an object Scoping Scope of objects o Creating new data types: class Fields and methods Default values for primitive members o Methods, arguments, and return values The argument list o Building a Java program Name visibility Using other components The static keyword o Your first Java program Compiling and running o Comments and embedded documentation Comment documentation Syntax Embedded HTML...
View Full Document

This note was uploaded on 07/29/2010 for the course BIOC BIOC1805 taught by Professor Dr.brianwong during the Summer '09 term at HKU.

Page1 / 679

Thinking in Java - Thinking in Java, 3rd ed. Revision 4.0 -...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online