Java Concepts: Compatible with Java 5, 6 and 7

Front Cover
John Wiley & Sons, Dec 30, 2009 - Computers - 666 pages
This book introduces programmers to objects at a gradual pace. The syntax boxes are revised to show typical code examples rather than abstract notation. This includes optional example modules using Alice and Greenfoot. The examples feature annotations with dos and don'ts along with cross references to more detailed explanations in the text. New tables show a large number of typical and cautionary examples. New programming and review problems are also presented that ensure a broad coverage of topics. In addition, Java 7 features are included to provide programmers with the most up-to-date information.
 

Contents

20
1
USING OBJECTS
31
Dont MemorizeUse
32
ALPHABETICAL LIST OF SYNTAX BOXES
37
9T Implementing a Test Program
50
Calling a Superclass Constructor 379
57
IMPLEMENTING CLASSES
73
Catching Exceptions 424
80
Declaring an Interface
332
6T Mock Objects
345
INHERITANCE
367
Abstract Classes
368
Importing a Class from a Package 49
372
Available online in WileyPLUS and at www wiley comcollegehorstmann
385
8G Using Inheritance to Customize Frames
397
INPUTOUTPUT AND EXCEPTION HANDLING
407

6T Unit Testing
90
9G Shape Classes
96
FUNDAMENTAL DATA TYPES
115
Comparisons 158
119
DECISIONS
151
Declaring a Generic Class
152
5T Code Coverage
178
ITERATION
193
6T Using a Debugger
223
ARRAYS AND ARRAY LISTS
241
7T Regression Testing
271
DESIGNING CLASSES
289
10T Unit Test Frameworks
316
INTERFACES AND POLYMORPHISM
329
Dont Use a Container
330
The throws Clause 423
408
OBJECTORIENTED DESIGN
441
Object
447
RECURSION
491
Recursion
493
SORTING AND SEARCHING
525
Sorting
528
Searching
549
20
555
An Introduc
566
Advanced
577
20
589
Generic
633
Laying Out a User
640
Copyright

Common terms and phrases

Bibliographic information