Java For Students, 6th edition

  • Douglas Bell
  • Mike Parr

Java For Students

ISBN-13:  9780273731221


This product is not available in your country

What's included

  • Paperback

    You'll get a bound printed text.


This book is for novices

If you have never done any programming before - if you are a complete novice - this book is for you. This book assumes no prior knowledge of programming. It starts from scratch. It is written in a simple, direct style for maximum clarity. It is aimed at first level students at universities and colleges, but it is also suitable for novices studying alone.

The approach of this book

We explain how to use objects early in this book. Our approach is to start with the ideas of variables, assignment and methods, then introduce the use of objects created from library classes. Next we explain how to use control structures for selection and looping. Then comes the treatment of how to write your own classes.

We wanted to make sure that the fun element of programming was paramount, so we use graphics right from the start. We think graphics is fun, interesting and clearly demonstrates all the important principles of programming. But we haven't ignored programs that input and output text - they are also included.

The programs we present use many of the features of a graphical user interfaces (GUIs), such as buttons, scroll bars and text boxes. But we also explain how to write console programs in Java.

We introduce new ideas carefully one-at-a-time, rather than all at once. So, for example, there is a single chapter on writing methods. We introduce simple ideas early and more sophisticated ideas later on.


Table of contents

Detailed contents
Guided tour

  1. The background to Java

  2. First programs

  3. Using graphics methods

  4. Variables and calculations

  5. Methods and parameters

  6. Using objects

  7. Selection

  8. Repetition

  9. Writing classes

  10. Inheritance

  11. Calculations

  12. Array lists

  13. Arrays

  14. Arrays - two dimensional

  15. String manipulation

  16. Exceptions

  17. Files and console applications

  18. Object-oriented design

  19. Program style

  20. Testing

  21. Debugging

  22. Threads

  23. Interfaces

  24. Programming in the large - packages

  25. Polymorphism

  26. Java in context


A. Java libraries

B. The Abstract Window Toolkit

C. Applets

D. Glossary

E. Rules for names

F. Keywords

G. Scope rules (visibility)

H. Bibliography

I. Installing and using Java


Published by Pearson Canada (March 25th 2010) - Copyright © 2010