Big Java: Compatible with Java 5, 6 and 7

Front Cover
John Wiley & Sons, Dec 30, 2009 - Computers - 1132 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

Chapter
1
USING OBJECTS
33
ALPHABETICAL LIST OF SYNTAX BOXES
39
9T Implementing a Test Program
52
13G Ellipses Lines Text and Color
65
IMPLEMENTING CLASSES
81
6T Unit Testing
98
9G Shape Classes
106
OBJECTORIENTED DESIGN
505
Use a GUI Builder
506
RECURSION
557
Tracing Through
562
SORTING AND SEARCHING
595
Insertion Sort
596
AN INTRODUCTION TO DATA STRUCTURES
629
The for each Loop
630

FUNDAMENTAL DATA TYPES
127
Errors
139
Calling a Superclass Constructor 431
140
DECISIONS
171
Decisions
172
Constant Declaration
178
Declaring a Generic Class 727
194
5T Code Coverage
202
ITERATION
217
6T Using a Debugger
257
ARRAYS AND ARRAY LISTS
275
Arrays
276
7T Regression Testing
306
Designing
316
DESIGNING CLASSES
327
Call by Value and Call
328
INTERFACES AND POLYMORPHISM
371
Dont Use a Container
372
Declaring an Interface
374
6T Mock Objects
389
11G Mouse Events
403
INHERITANCE
419
Inheritance
420
Importing a Class from a Package 51
424
Method Call 13
436
8G Using Inheritance to Customize Frames
456
INPUTOUTPUT AND EXCEPTION HANDLING
467
Object Construction 47
488
ADVANCED DATA STRUCTURES
665
Enhancements to Collection
666
to Manipulate Data
686
GENERIC PROGRAMMING
723
GRAPHICAL USER INTERFACES ADVANCED
739
5G Menus
758
STREAMS AND BINARY INPUTOUTPUT ADVANCED
777
Negative byte Values
782
MULTITHREADING ADVANCED
801
Calling await Without
802
Algorithm Animation
824
Chapter
835
INTERNET NETWORKING ADVANCED
839
Internet
841
RELATIONAL DATABASES ADVANCED
865
Relational
866
XML
873
XML ADVANCED
905
Elements Describe
906
WEB APPLICATIONS ADVANCED
947
Designing
948
APPENDICES
979
APPENDIX E JAVA SYNTAX SUMMARY
1029
APPENDIX G TOOL SUMMARY
1045
The for Statement
1065
The if Statement
1102
Wildcard Types
1127
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information