Rights Contact Login For More Details
- Wiley
More About This Title Java Concepts 4/E
- English
English
Special Features.
Chapter 1. Introduction.
1.1 What is programming.
1.2 The Anatomy of a Computer.
1.3 Translating Human Readable Programs to Machine Codes.
1.4 The Java Programming Language.
1.5 Becoming Familiar with Your Computer.
1.6 Compiling a Simple Program.
1.7 Errors.
1.8 The Compilation Project.
Chapter 2. Using Objects.
2.1 Types and Variables.
2.2 The Assignment Operator.
` 2.3 Objects, Classes and Methods.
2.4 Methods, Parameters and Return Values.
2.5 Number Types.
2.6. Constructing Objects.
2.7 Accessor and Mutator Methods.
2.8 Implementing a Test Program.
2.9 The API Documentation.
2.10 Object References.
Chapter 3. Implementing Classes.
3.1 Black Boxes.
3.2 Design and Public Interface of a Class.
3.3 Commenting the Public Interface.
3.4 Instance Fields.
3.5 Implementing Constructors and Methods.
3.6 Testing a Class.
3.7 Categories of Variables.
3.8 Implicit and Explicit Method Parameters.
Chapter 4. Fundamental Data Types.
4.1 Number Types.
4.2 Constants.
4.3 Assignment, Increment, and Decrement.
4.4 Arithmetic Operations and Mathematical Functions.
4.5 Calling Static Methods.
4.6 Strings.
4.7 Reading Input.
Chapter 5. Programming Graphics (Optional).
5.1 Frame Windows.
5.2 Drawing Shapes.
5.3 Graphical Shapes.
5.4 Colors.
5.5 Drawing Complex Shapes.
5.6 Reading the Text Input.
5.7 Comparing Visual and Numerical Information.
Chapter 6. Decisions.
6.1 The if Statement.
6.2 Comparing Values.
6.3 Multiple Alternatives.
6. 4 Using Boolean Expressions.
Chapter 7. Iteration.
7.1 while Loops.
7.2 for loops
7.3 Nested Loops
7.4 Processing Sentinel Values.
7.5 Random Numbers and Stimulations.
Chapter 8. Arrays and Array Lists.
8.1 Arrays.
8.2 Arrays Lists.
8.3 Wrappers and Auto-Boxing.
8.4 The Generalized for Loop.
8.5 Simple Array Algorithms.
8.6 Two-Dimensional Arrays.
8.7 Copying Arrays.
Chapter 9. Designing Classes.
9.1 Choosing Classes.
9.2 Cohesion and Coupling.
9.3 Accessors, Mutators, and Immutable Classes.
9.4 Side Effects.
9.5 Preconditions and Postconditions.
9.6 Static Methods.
9.7 Static Fields.
9.8 Scope.
9.9 Packages.
Chapter 10. Testing and Debugging.
10.1 Unit Tests.
10.2 Providing Test Input.
10.3 Test Case Evaluation.
10.4 Regression Testing and Test Coverage.
10.5 Logging.
10.6 Using a Debugger.
10.7 A Sample Debugging Session.
Chapter 11. Interfaces and Polymorphism.
11.1 Using Interfaces of Code Reuse.
11.2 Converting Between Class and Interface Types.
11.3 Polymorphism.
11.4 Using Interfaces for Callbacks.
11.5 Inner Classes.
11.6 Processing Timer Events.
11.7 Accessing Surrounding Variables.
Chapter 12. Event Handling (Optional).
12.1 Events, Event Sources and Event Listeners.
12.2 Building Applications with Buttons.
12.3 Processing Text Input.
12.4 Mouse Events.
Chapter 13. Inheritance.
13.1 An Introduction to Inheritance.
13.2 Inheritance Hierarchies.
13.3 Inheritance Instance Fields and Methods.
13.4 Subclass Construction.
13.5 Converting between Subclass and Superclass Types.
13.6 Polymorphism.
13.7 Access Control.
13.8 Object: The Cosmic Superclass.
Chapter 14. Graphical User Interfaces.
14.1 Using Inheritance to Customize Frames.
14.2 Layout Management.
14.3 Choices.
14.4 Menus.
14.5 Text Areas.
14.6 Exploring the Swing Documentation.
Chapter 15 Exception Handling.
15.1 Throwing Exceptions.
15.2 Checked and Unchecked Exceptions.
15.3 Catching Exceptions.
15.4 The finally Clause.
15.5 Designing Your Own Exception Types.
15.6 Case Study: A Complete Example.
Chapter 16. Files and Streams.
16.1 Reading and Writing Text Files.
16.2 Text and Binary Formats.
16.3 An Encryption Program.
16.4 Random Access.
16.5 Object Streams.
Chapter 17. Object Oriented Design.
17.1 The Software Life Cycle.
17.2 Discovering Classes.
17.3 Relationship Between Classes.
17.4 Case Study: Printing an Invoice.
17.5 Case Study: An Automatic Teller Machine.
Chapter 18. Recursion.
18.1 Triangle Numbers.
18.2 Permutations.
18.3 Recursive Helper Methods.
18.4 Mutual Recursions.
18.5 The Efficiency of Recursion.
Chapter 19. Sorting and Searching.
19.1 Selection Sort.
19.2 Profiling the Selection Sort Algorithm.
19.3 Analyzing the Performance of the Selection Sort Algorithm.
19.4 Merge Sort.
19.5 Analyzing and Merge Sort Algorithm.
19.6 Searching.
19.7 Binary Search.
19.8 Sorting Real Data.
Chapter 20. An Introduction to Data Structures.
20.1 Using Linked Lists.
20.2 Implementing Linked Lists.
20.3 Abstract and Concrete Data Types.
20.4 Stacks and Queues.
Chapter 21. Advanced Data Structures.
21.1 Sets.
21.2 Maps.
21.3 Hash Tables.
21.4 Computing Hash Codes.
21.5 Binary Search Trees.
21.6 Tree Traversal.
21.7 Using Tree Sets and Tree Maps.
21.8 Priority Queues.
21.9 Heaps.
21.10 The Heapsort Algorithm.
Chapter 22. Generic Programming.
22.1 Type Variables.
22.2 Implementing Generic Classes.
22.3 Generic Methods.
22.4 Constraining Type Variables.
22.5 Raw Types.
Appendix A: Java Language Coding Guidelines.
Appendix B: The Basic Latin and Latin-1 Subsets of Unicode.
Appendix C: The Java Library.
Appendix D: Adapting Java 5 Programs to Older Compilers.
Appendix E: Java Syntax Summary.
Appendix F: Java Operator Summary.
Appendix G: Java Keyword Summary.
Appendix H: Metric Conversion Factors.
Appendix I: HTML Summary.
Appendix J: Tool Summary.
Appendix K: Javadoc Summary.
Appendix L: Number Systems.
Appendix M: Bit and Shift Operations.
Appendix N: UML Summary.
Glossary.
Index.
Illustration Credits.