Java For Students

Series
Prentice Hall
Author
Douglas Bell / Mike Parr  
Publisher
Pearson
Cover
Softcover
Edition
6
Language
English
Total pages
552
Pub.-date
March 2010
ISBN13
9780273731221
ISBN
027373122X
Related Titles



Description

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.

 

Features

  • aimed at novices
  • step-by-step approach uses graphics extensively
  • uses graphical user interfaces from the outset.
  • teaches Object-Oriented Programming
  • uses UML (Unified Modelling Language) as appropriate
  • uses generics and the enhanced 'for'
  • introduces objects early
  • self-test questions with solutions
  • exercises at the end of each chapter
  • presents complete programs - not just fragments

New to this Edition

Updated to cover Java version 6.

 

Includes instructions for using the Eclipse programming environment in an appendix.  The book is not tied to any particular environment, however.

 

The CD is not included.  In this era of broadband, Java and our example programs can be downloaded.

 

Table of Contents

Detailed contents
Introduction
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

Appendices:

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


Index

Back Cover

Java for Students, 6th edition

'The best book for my first year programming students'

Gary Hill, The University of Northampton

'It is really hard to fault it or find a better book' 

Ken Chisholm, Edinburgh Napier University

'An excellent rewarding introduction to Java programming’

Dr Simon Jones, University of Stirling

 

If you are new to computer programming then this book is for you! Starting from scratch, it assumes no prior knowledge of programming and is written in a simple, direct style for maximum clarity.

This latest edition of Java for Students has been fully updated to include the new features of Java 6.0. The authors’ GUI-based approach helps students to build their programming skills by producing exciting and dynamic graphical output.

Key features

·        A focus on applications and GUI development with Swing.

·        Graphics are used from the start to promote interest and enjoyment and to illustrate programming principles.

·        UML 2.0 is used for modelling and design.

·        A wealth of exercises and self-test questions with solutions.

 

Check out the companion website for the book at www.pearsoned.co.uk/bell to find additional resources for both students and instructors.

About the Authors

Douglas Bell and Mike Parr have many years experience teaching programming in the UK. They have written a number of programming books, including the bestselling Java for Students, Visual Basic for Students and C# for Students. They continue to teach and learn about programming with enthusiasm.

Author

Douglas Bell and Mike Parr have many years experience teaching programming in the UK. They have written a number of programming books, including the bestselling Java for Students, Visual Basic for Students and C# for Students. They continue to teach and learn about programming with enthusiasm.

Reader Review(s)

'The best book for my first year programming students'
Gary Hill, The University of Northampton

'It is really hard to fault it or find a better book' 
Ken Chisholm, Edinburgh Napier University

'An excellent rewarding introduction to Java programming’
Dr Simon Jones, University of Stirling


Instructor Resources