Java Concepts: Compatible with Java 5, 6 and 7 / Edition 6

Paperback (Print)
Rent from
(Save 69%)
Est. Return Date: 07/21/2015
Buy New
Buy New from
Buy Used
Buy Used from
(Save 37%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $32.95
Usually ships in 1-2 business days
(Save 78%)
Other sellers (Paperback)
  • All (4) from $32.95   
  • New (1) from $57.14   
  • Used (3) from $32.95   


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.

Read More Show Less

Product Details

  • ISBN-13: 9780470509470
  • Publisher: Wiley
  • Publication date: 12/30/2009
  • Edition number: 6
  • Pages: 666
  • Product dimensions: 7.99 (w) x 9.90 (h) x 0.94 (d)

Table of Contents


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 Code.

1.4 The Java Programming Language.

1.5 The Structure of a Simple Program.

1.6 Compiling and Running a Java Program.

1.7 Errors.

1.8 Algorithms.

Chapter 2. Using Objects.

2.1 Types.

2.2 Variables.

2.3 The Assignment Operator.

2.4 Objects, Classes, and Methods.

2.5 Method Parameters and Retun Values.

2.6 Constructing Objects.

2.7 Accessor and Mutator Methods.

2.8 The API Documentation.

2.9T Implementing a Test Program.

2.10 Object References.

2.11G Graphical Applications and Frame Windows.

2.12G Drawing on a Component.

2.13G Ellipses, Lines, Text, and Color.

Chapter 3. Implementing Classes.

3.1 Instance Variables.

3.2 Encapsulation.

3.3 Specifying the Public Interface of a Class.

3.4 Commenting the Public Interface.

3.5 Providing the Class Implementation.

3.6T Unit Testing.

3.7 Local Variables.

3.8 Implicit Parameters.

3.9G Shape Classes.

Chapter 4. Fundamental Data Types.

4.1 Number Types.

4.2 Constants.

4.3 Arithmetic Operations and Mathematical Functions.

4.4 Calling Static Methods.

4.5 Strings.

4.6 Reading Input.

Chapter 5. Decisions.

5.1 The if Statement.

5.2 Comparing Values.

5.3 Multiple Alternatives.

5.4 Using Boolean Expressions.

5.5T Code Coverage. 

Chapter 6. Iteration.

6.1 while Loops.

6.2 for Loops.

6.3 Common Loop Algorithms.

6.4 Nested Loops.

6.5 Application: Random Numbers and Simulations.

6.6T Using a Dubugger.

Chapter 7. Arrays and Array Lists.

7.1 Arrays.

7.2 Array Lists.

7.3 Wrappers and Auto-boxing.

7.4 The Enhanced for Loop.

7.5 Partially Filled Arrays.

7.6 Common Array Algorithms.

7.7T Regression Testing.

7.8 Two-Dimensional Arrays. 

Chapter 8. Designing Classes.

8.1 Discovering Classes.

8.2 Cohesion and Coupling.

8.3 Immutable Classes.

8.4 Side Effects.

8.5 Preconditions and Postconditions.

8.6 Static Methods.

8.7 Static Variables.

8.8 Scope.

8.9 Packages.

8.10T Unit Test Frameworks. 

Chapter 9. Interfaces and Polymorphism.

9.1 Using Interfaces for Algorithm Reuse.

9.2 Converting Between Class and Interface Types.

9.3 Polymorphism.

9.4 Using Interfaces for Callbacks.

9.5 Inner Classes.

9.6T Mock Objects.

9.7G Events, Event Sources, and Event Listeners.

9.8G Using Inner Classes for Listeners.

9.9G Building Applications with Buttons.

9.10G Processing Timer Events.

9.11G Mouse Events. 

Chapter 10. Inheritance.

10.1 Inheritance Hierarchies.

10.2 Implementing Subclasses.

10.3 Overriding Methods.

10.4 Subclass Construction.

10.5 Converting Between Subclass and Superclass Types.

10.6 Polymorphism and Inheritance.

10.7 Object: The Cosmic Superclass.

10.8G Using Inheritance to Customize Frames.

Chapter 11. Input/Output and Exception Handling.

11.1 Reading and Writing Text Files.

11.2 Reading Text Input.

11.3 Throwing Exceptions.

11.4 Checked and Unchecked Exceptions.

11.5 Catching Exceptions.

11.6 The finally Clause.

11.7 Designing Your Own Exception Types.

11.8 Case Study: A Complete Example.  

Chapter 12. Object-Oriented Design.

12.1 The Software Life Cycle.

12.2 Discovering Classes.

12.3 Relationships Between Classes.

12.4 Case Study: Printing an Invoice.

12.5 Case Study: An Automatic Teller Machine.

Chapter 13. Recursion.

13.1 Triangle Numbers.

13.2 Recursive Helper Methods.

13.3 The Efficiency of Recursion.

13.4 Permutations.

13.5 Mutual Recursions.

Chapter 14. Sorting and Searching.

14.1 Selection Sort.

14.2 Profiling the Selection Sort Algorithm.

14.3 Analyzing the Performance of the Selection Sort Algorithm.

14.4 Merge Sort.

14.5 Analyzing the Merge Sort Algorithm.

14.6 Searching.

14.7 Binary Search.

14.8 Sorting Real Data. 

Chapter 15. An Introduction to Data Structures.

15.1 Using Linked Lists.

15.2 Implementing Linked Lists.

15.3 Abstract Data Types.

15.4 Stacks and Queues. 

Chapter 16. Advanced Data Structures (Advanced).

16.1 Sets.

16.2 Maps.

16.3 Hash Tables.

16.4 Computing Hash Codes.

16.5 Binary Search Trees.

16.6 Binary Tree Traversal.

16.7 Priority Queues.

16.8 Heaps.

16.9 The Heapsort Algorithm. 

Chapter 17. Generic Programming (Advanced).

17.1 Generic Classes and Type Parameters.

17.2 Implementing Generic Types.

17.3 Generic Methods.

17.4 Constraining Type Parameters.

17.5 Type Erasure. 

Chapter 18. Graphical User Interfaces (Advanced).

18.1G Processing Text Input.

18.2G Text Areas.

18.3G Layout Management.

18.4G Choices.

18.5G Menus.

18.6G Exploring the Swing Documentation. 


Appendix A. The Basic Latin and Latin-1 Subsets of Unicode.

Appendix B. Java Operator Summary.

Appendix C. Java Reserved Word Summary.

Appendix D. The Java Library.

Appendix E. Java Syntax Summary.

Appendix F. HTML Summary.

Appendix G. Tool Summary.

Appendix H. JavaDoc  Summary.

Appendix I. Number Systems.

Appendix J. Bit and Shift Operations.

Appendix K. UML Summary.

Appendix L. Java Language Coding Guidelines.



Illustration Credits.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)